By topher1078 on
Hi, I'm trying to make a simple list using the views module. I have my taxonomy with the parent
Washington, DC
--DC News
--DC Reviews
--DC Shows
I want the list to have articles from both the parent and child categories.
Under filters in the View admin, add Taxonomy - show all of and pick the Washington DC category. But nothing shows up. It says something about the depth option, but after trying all and 1 and anything else google could find I still came up short.
I feel like this is something which should be extremely easy but I can't figure it out, so I would appreciate any help.
Comments
This document helped me
This document helped me understand views a bit : http://drupal.org/node/63230
not sure it helps in your specific case, but thought I'd post it in case you hadn't seen it , and in the case that it shakes something loose for you, while you wait a more views experienced answer.
I have seen that page,
I have seen that page, thanks though. All I'm confused about is why the Views module won't show me all of the child categories of the parent category. I can only select one child category. I even tried to just pick seperate child categories as part of the same view, but that wouldn't work either.
It's a while since I used
It's a while since I used Views, but isn't there a filtering option that says 'All of a vocabulary' or something similar? That might do the trick.
----
Previously user Ramdak.
Filtering Parents & Children
If you want your filter to include the parent and first children, enter '1' in the option field. That sets the depth below the parent item you've selected (Washington, DC). Also set the 'operator' field to 'is all of'.
what if
what if you don't want to include the parent but you do want to include the first children? (all of my nodes are categorized under both a parent and a child so filtering on just a parent will return no nodes even though there may be some categorized to one of its children).
Thank you so much!!! I knew
Thank you so much!!! I knew it had to something so simple I was just overlooking it. Thanks.
Answer?
What was the answer to returning the children and not the parent?
Thanks!