Using CCK With CiviNode And CiviCRM

The Content Construction Kit (CCK) is a module that lets you create new content types out of different field types. It's highly extensible, and a number of different "widgets" have been created to work with it.

CiviNode supports different widget types that make it easier to use CiviCRM data, such as (1) AJAX widgets for finding a contact in your CiviCRM data store, (2) pop-up menus to choose CiviCRM groups or contacts. Since the number of contacts can be very large, the module makes it possible to restrict the contacts displayed with either widget type by membership in a group.

A contact displays in CCK using a CiviCRM profile (a grouping of fields), which you can select.

We've found this to be the most flexible way to use CiviNode, and if you're just trying things out, this is where you want to start.

You'll need to install both CiviNode and the civicrmdata module from the "contribs" folder of the CiviNode install.

Comments

Auto-populate / auto-create drupal nodes for a group?

I'm interested in using CCK and Views to set up forms to allow Drupal functionality to be applied to CiviCRM data, eg. to use Drupal moderation for custom fields in CiviCRM, perhaps for contacts in a specific group. Maybe I'm missing something, but I couldn't see a way to have CiviNode / CCK automatically create these nodes. What's the best design approach for this? Is it to try to set up an action that is fired every time a CiviCRM profile is submitted? Or could CiviNode / CCK / Views handle this in some way?