I need the inverse of "node reference views"

gomerpyle - May 1, 2009 - 10:31

Long ago I implemented the technique listed here for "Displaying related nodes using Views and Contemplate"
http://drupal.org/node/134320

It worked well but was large and cumbersome and I have now moved on to drupal 6.

I am trying to display a node, with all of it's fields as usual. Additionally, it should display all of the nodes (full or teaser) which have referenced it.

So I have towns, and I have movie theaters. Inside of the movie theater node I select the town, and then when I view the town it shows the theater node as well.

Fairly simple to explain, but I would love to find a better way to solve than I have previously used. Node reference views seems to allow me to select the movie theater from with the town node, but I am looking for the opposite.

No, my site is not about towns and movie theaters... I think that was done already.

Thanks for your help.

Try the nodereferrer

cog.rusty - May 1, 2009 - 13:09

Try the nodereferrer module

http://drupal.org/project/nodereferrer
http://drupal.org/node/431308 (documentation)

Since nodereferred is a dev version, you may need to keep an eye on its issues queue. I see in its stats that that several people have been using it.

Check also http://drupal.org/project/nodereferrer_create in case you find it useful.

Or, if you have installed Views in Drupal 6, notice the "backlinks" view in admin/build/views. It does not rely on a nodereference field but on Drupal search (which should includes nodereference's ouput).

Mr. Rusty, Nodereferrer is

gomerpyle - May 2, 2009 - 11:28

Mr. Rusty,

Nodereferrer is precisely the missing link that I was looking for. No matter how many times I page through the modules list, I always seem to miss the one I am looking for.

Thank you for this.

Mr. Pyle.

In case you haven't settled

cog.rusty - May 6, 2009 - 00:12

In case you haven't settled on nodereferrer yet, just today I noticed this module with an example in its project page which seems relevant:

http://drupal.org/project/views_attach

 
 

Drupal is a registered trademark of Dries Buytaert.