Reputation: 11
I'm trying to display, in a single page, the content of nodes referenced to other(e. g. the relations of a navigation graph) This should not be a simple list of node, but it should follows the order of the relations between nodes. How can I do this? PHP code? Template? View? This should be done in a recursive way? I'm working with Drupal 7... Thanks in advance, Regards, Michele
Upvotes: 1
Views: 1242
Reputation: 2308
It sounds like you want to create an Entity Relationship Diagram
This is possible in Drupal 6 using the Node Relationships module and it's dependencies.
Unfortunately there doesn't seem to be a port to Drupal 7 yet.
If you didn't need to show the entire relationship graph in one place but could click thru: in Drupal 7 to show nodes related to a given node you can adapt the recipe to show referenced content found here:
http://mustardseedmedia.com/podcast/episode37
Using the following projects:
Upvotes: 0
Reputation: 2458
If you want to do it without using custom module, then you should consider using module http://drupal.org/project/nodereference_url and http://drupal.org/project/views_attach along with Views. View attach gives you Node Content display which you can use to implement the functionality you are looking forward to.
Upvotes: 1