Hello,
I've got several views on my site (drupal 5.7) and with all of them, I've got a problem I just can't figure out. I have views that are set to show any content of a certain vocabulary name.
So, I have a filter for the field 'Taxonomy: Vocabulary Name' with the category I'm interested in selected. I then have the sort criteria of 'Node: Sticky' and 'Node: Created Time'.
The problem I have is that any nodes I create that have multiple categories show up once for every category it has. You can see what I mean at the bottom of this page:
http://www.oshkoshpubliclibrary.org/readerrec
Is there a way to get drupal to only show one instance of a node in a view, rather than one for every category the node is in?
- jody
There is a Node: Distinct filter that will help you here.
Also, I find it useful to supply the view with an argument. You might like to select Taxonomy: Term ID as your argument type, this way you can use URLs such as view_name/term_id.
psynaptic http://freestylesystems.co.uk
On 25 Apr 2008, at 22:03, Jody Cleveland wrote:
Hello,
I've got several views on my site (drupal 5.7) and with all of them, I've got a problem I just can't figure out. I have views that are set to show any content of a certain vocabulary name.
So, I have a filter for the field 'Taxonomy: Vocabulary Name' with the category I'm interested in selected. I then have the sort criteria of 'Node: Sticky' and 'Node: Created Time'.
The problem I have is that any nodes I create that have multiple categories show up once for every category it has. You can see what I mean at the bottom of this page:
http://www.oshkoshpubliclibrary.org/readerrec
Is there a way to get drupal to only show one instance of a node in a view, rather than one for every category the node is in?
- jody
-- [ Drupal support list | http://lists.drupal.org/ ]
Absolutely perfect, thank you so much!!
- jody
On 4/25/08 4:16 PM, "Richard Burford" rich@freestylesystems.co.uk wrote:
There is a Node: Distinct filter that will help you here.
Also, I find it useful to supply the view with an argument. You might like to select Taxonomy: Term ID as your argument type, this way you can use URLs such as view_name/term_id.
psynaptic http://freestylesystems.co.uk
On 25 Apr 2008, at 22:03, Jody Cleveland wrote:
Hello,
I've got several views on my site (drupal 5.7) and with all of them, I've got a problem I just can't figure out. I have views that are set to show any content of a certain vocabulary name.
So, I have a filter for the field 'Taxonomy: Vocabulary Name' with the category I'm interested in selected. I then have the sort criteria of 'Node: Sticky' and 'Node: Created Time'.
The problem I have is that any nodes I create that have multiple categories show up once for every category it has. You can see what I mean at the bottom of this page:
http://www.oshkoshpubliclibrary.org/readerrec
Is there a way to get drupal to only show one instance of a node in a view, rather than one for every category the node is in?
- jody
-- [ Drupal support list | http://lists.drupal.org/ ]