Views: Show Stories, Pages, and ONLY Books with a depth of 1
Karlheinz - July 11, 2009 - 01:03
Hey, all.
I've set up a View (called "writings") which can show Stories, Pages, and Book Pages. That's all well and good, but if I have Book Pages which are not "top-level" (i.e. have a depth greater than 1), it will show these as well, and I'd like this not to be the case.
There is a filter in Views which will allow me to filter out Book Pages with a depth greater than 1, but this will also filter out all Story and Page node types.
Is there way to get all Story and Page nodes, but only Book nodes that are top-level?
I'm sure I'm missing something obvious, but I don't know what it is.

I see what the problem is...
I see what the problem is... By adding the "Book Depth" filter, it automatically filters out node types that are not equal to "book".
I don't think there is a way around this, but I do think there is a Views module that will let you "join" two Views together into one, so you could have one for Stories and Pages, and the other for top-level books. Search for "views" in the modules section, it's on one of the first 5 pages, if I recall, sorry I couldn't get you a direct link to it. It does exist, though.
For D6, that sounds like the
For D6, that sounds like the Views Or module.
---
"Nice to meet you Rose...run for your life." - The Doctor
My first public Drupal site - EyeOnThe503
Nice idea - just I'm
Nice idea - just I'm wondering what would you suggest or'ing with? The first filter would be book depth =1 but then you would need a filter "not a book parent". Or did you have something else in mind?