View integration

Sharique - August 1, 2007 - 12:44
Project:CiviNode And Civinode CCK
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

Civi Nodes are only available to views if they are used in CCK, I wish all Civicrm content become available to views.
--
Sharique

#1

Sharique - September 13, 2007 - 03:27

Any progress on this?

#2

Torenware - September 13, 2007 - 04:55
Status:active» postponed (maintainer needs more info)

It's not currently something that's easy to do outside of a framework like CCK.

Here's the issue. Views *really* wants to display content that is part of a "node", which is the basic unit of content in Drupal. But CiviCRM is organized mostly around things like contacts, events, contributions, and such. To get Views to display these things, you have to make Views think that data inside of CiviCRM is really stored in Drupal. That's hard to do.

CCK at least gives us a way to hook CiviCRM data into Drupal's node system, which makes the data available to Views.

I'm open to this as an idea, but the first step is to come up with "use cases" -- stories about how you'd want to use your data -- inside of Views. Once we know that there are a few ways people want to display CiviCRM data that they (1) can't do with CCK, and (2) have enough support that a group of us will fund the work, then we can figure out how best to do this.

So what do the two of you want to do with your data that is hard or awkward to do via the CCK hooks?

#3

Sharique - September 14, 2007 - 02:56

I have created a view which displays list of user on site with fields userid, user city, country and their expertise (a profile field). CIty and country info is stored in CIvicrm profile.
expertise field is in drupal profile module.

How I can do this?
----
Shairque

#4

Sharique - October 31, 2007 - 06:00

Any progress on this?

 
 

Drupal is a registered trademark of Dries Buytaert.