12
Beyond the Box How Custom Drupal Modules Can Extend CiviCRM Saturday, July 24, 2010

Drupal-CiviCRM: beyond the box

Embed Size (px)

DESCRIPTION

CiviCRM has a really wide feature set. But invariably there will be some specialized function that your client or organization needs. Inspired by Drupals hooks, CiviCRM first added hooks and then an API - now in its second version. You can craft a solution to address that unique function by leveraging Drupal's modularity with CiviCRM's hooks and API.

Citation preview

Page 1: Drupal-CiviCRM: beyond the box

Beyond the BoxHow Custom Drupal Modules Can Extend CiviCRM

Saturday, July 24, 2010

Page 2: Drupal-CiviCRM: beyond the box

Beyond the BoxHow Custom Drupal Modules Can Extend CiviCRM

Shawn DuncanFatherShawn on [email protected]

Saturday, July 24, 2010

Page 3: Drupal-CiviCRM: beyond the box

Overview of CiviCRM data model

Contacts

Relationships

Groups

Tags

Activities

Contributions

Memberships

Events & Participants

Saturday, July 24, 2010

Page 4: Drupal-CiviCRM: beyond the box

CiviCRM has Hooks!

Saturday, July 24, 2010

Page 7: Drupal-CiviCRM: beyond the box

Demo: CiviCRM Relate

Saturday, July 24, 2010

Page 8: Drupal-CiviCRM: beyond the box

The problem it solvedAdd a contact to serve as a reference for the user

Saturday, July 24, 2010

Page 9: Drupal-CiviCRM: beyond the box

Basic Drupal Module:

hook_adminhook_menu,hook_uninstall

Saturday, July 24, 2010

Page 10: Drupal-CiviCRM: beyond the box

CiviCRM Hooks:

hook_civicrm_buildFormhook_civicrm_postProcess

Saturday, July 24, 2010

Page 11: Drupal-CiviCRM: beyond the box

CiviCRM APIs:

civicrm_uf_profile_groups_get()civicrm_relationship_types_get()civicrm_relationship_create()

Saturday, July 24, 2010

Page 12: Drupal-CiviCRM: beyond the box

Q&A

Saturday, July 24, 2010