Hi,

I am looking to add a CCK field to the bottom of certain content types which allows me to show all the other nodes that link to this one.

I would like to be able to group the content types together; we have events, event review, photos, blogs, books etc.

in event reviews we add a node reference saying what this review is about and who (user reference) attended the event
in images we add the event node reference and user references for who is in the photo.

So the event should link to the review and the photos of the event where it is referenced
So a event review should link to the event and the photos of the event
The user profile should indicate which events a person has attended; links to photos with them in etc.

We need a report (view) saying which was the first and most recent and number of events a person attended

Is this the module for me; I am confused because it is mentioning "views" integration.... I think I may need to read more on the cck/views integration; I thought this meant that I could refer to CCK fields in views, but maybe in means more.

thanks

R

Comments

markus_petrux’s picture

Status: Active » Fixed

Node Reference fields as implemented by CCK provide a Views relationship, so you can build views with queries that join nodes of certain types (the child nodes are those that have the node reference field) with their parent nodes (those nodes that are referred by node reference fields).

However, Node Reference fields as implemented by CCK do NOT provide a Views relationship to do the opposite, travel from the parent nodes to their children.

In fact, this feature would have to be part of Node Reference in CCK, but it isn't for the reasons described in the CCK issue where this feature was discussed, also documented in the project page of this module.

[EDIT] Please, see #241078: Reverse node-reference views relationship

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.