CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Display Drupal content in CiviCRM
Pages: [1]

Author Topic: Display Drupal content in CiviCRM  (Read 1019 times)

fcreek

  • I’m new here
  • *
  • Posts: 12
  • Karma: 1
Display Drupal content in CiviCRM
March 07, 2010, 03:00:59 pm
It's amazing what CiviCRM + Views2 allows you to as far as getting CiviCRM data to display in Drupal. But what if you wanted to go the other way?

A great addition to CiviCRM would be the ability to create a contact tab which displays Drupal nodes (or Views) that reference a CiviCRM contact. Another way to do this would be to allow nodes that reference a CiviCRM contact to display on that contact's dashboard.

For instance, we are building an internal project management tool, with custom node types for tasks and projects. We initially had a "client" node type as well, then realized this would be better served just using Civi organizations as our "client" reference. With views, it works like a charm.

The only place this breaks down is when we want to view all the task or project nodes related to a Civi Organization. I have no idea how involved this would be, but it's an idea. The same concept could allow you to create an "Author" tab for CiviCRM individuals who write blog posts on your site. You could see their posts right on their civi contact.

Just an idea! Look forward to any feedback.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Display Drupal content in CiviCRM
March 07, 2010, 07:37:49 pm

you can implement this as a tab hook, check:

http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmtabs
http://civicrm.org/blogs/illmasterc/creating-custom-contact-tabs-and-filling-them-drupal

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Display Drupal content in CiviCRM

This forum was archived on 2017-11-26.