Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.0
-
Fix Version/s: 2.2.0
-
Component/s: Drupal Integration Modules
-
Labels:None
Description
It looks like the Views 2 Integration for CiviCRM 2.2 has changed a bit since 2.1 and some of the Contact fields were removed from the Views integration.
I have added back those missing fields by using the Contact API to include the "exportable fields". I also added in the "Organization Name" field.
In addition, I added a Views Relationship from Contact to the Drupal User. This new relationship allows you to create a view that uses "User" as it's base table or allow you to JOIN Contact with User to pull Drupal User info into your view that relates to your Contact. This allows for a lot more integration with the data in the Drupal system, since there is a ton of Drupal data that relates to User.
I have attached a .zip with a patch and new files.