I'm looking for views argument handling code that will link a CiviCRM contact to a Drupal node. The idea is that a Civi contact has a profile page (node). The profile page (node) includes blocks that contain views of a corresponding Civi Contact.

For example. An organization by the name of "Cultural Arts Center" has a profile page (a drupal content type) titled "Cultural Arts Center". They also have a Civi Contact with a display name "Cultural Arts Center" . I want their contact info and some custom fields from Civi (ie their mission) to show on their profile page.

I have used php views argument snippets that create dynamic views blocks displaying node fields by using Drupal's taxonomy structure - but since CiviCRM doesn't integrate with Drupal's taxonomy I can't use taxonomy terms to link node and the dynamic views blocks.

The only thing I can think of is using a php snippet that checks the CiviCRM Display name against the node title - if they are identical then the profile page would include the block of the corresponding CiviCRM contact data.

Hope this makes sense? Anyone?

Comments

merlinofchaos’s picture

Status: Active » Closed (won't fix)

As per the submission guidelines, we're unable to answer specific questions about data/fields provided by modules. YOu'll need to ask in the queue for the module. I tried to reroute this but there's a vast array of CiviCRM modules and I don't know which one is appropriate.