[support] displaying multile node references in a views

Joel Willers joel.willers at sigler.com
Wed Jun 20 13:17:29 UTC 2012


The problem is that you want:

Node Fields
Reference1, Reference2, Reference3. 

Your View is finding Reference1, showing it, and then stopping. Showing all of the references together like that can make it tough to actually show them, so if it were me, I'd have the main View show the actual node stuff, then make an attachment View to it to show the Referenced stuff, then you can style them as you would like. 

In other words, remove the referenced items out of this View, make a new attachment View that has no restriction on how many items to show, make it a list, then attach it. Use CSS to style it the way you'd like (or you could use a grid). 

To see what I mean, you should see all of the references if you remove the restriction of 1 item on the View you linked (make it 0 to show all of them).

Alternately, you could add a field node title and a reference delta 0, then delta 1, etc. for each item, but it wouldn't be variable. Seems kinda janky, but it's a solution.

Hope that cleared things up more than it muddied the waters.

Joel 

-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Kim, Soonho (IFPRI)
Sent: Tuesday, June 19, 2012 3:05 PM
To: support at drupal.org
Subject: [support] displaying multile node references in a views

Dear all,

I have a view showing all related fields of a certain node. 
For example, there is a model A. Model A has three related documents.
So, in the page of Model A, I want to show all of three related documents. 
I attached the view which I am using.
I created a relationship using "reverse references" and created a field to show the title of related documents.

My problem is that the field only shows one document, even though I have tree related documents. 

Is there anyone who knows how to fix this problem?

Thanks for your answer in advance. : ) 

Best Regards,
Soonho





More information about the support mailing list