I have a nodreference CCK field called parent and I want to make a view showing each parent with his kids like this:
Tom Child A Child B Child C Dick Child D Child E
where Child A has a reference to node Tom as his "parent."
Is this possible with Views? I don't see how. If not I could just custom code it.
Thanks.
Fred,
Yes, it's possible using relationships. Here are the steps to set this up.
1. Filters: add fllter for node type of child 2. Relationships: add a relationship to the CCK field for the parent 3. Fields: - Node:title with no relationship (this will be the children nodes) - Node:title with the above relationship (this will be the parent nodes) - set "Exclude from display" 4. Style (settings): Grouping Field = Title (the one with the relationship)
Hope that's helpful!
Michelle
On 8/15/2010 9:02 AM, Fred Jones wrote:
I have a nodreference CCK field called parent and I want to make a view showing each parent with his kids like this:
Tom Child A Child B Child C Dick Child D Child E
where Child A has a reference to node Tom as his "parent."
Is this possible with Views? I don't see how. If not I could just custom code it.
Thanks.