By Karlheinz on
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.
Comments
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 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?
Karlheinz did you sort this?
I'm stuck in the same position, how did you sort it? with the or module?
Not sorted
Truthfully, I didn't end up sorting it out. I got sidetracked with other issues.
I think the Views Or module would do it, though.
-Karlheinz
Hello Karlheinz. I´m
Hello Karlheinz.
I´m interesting to know how can I use Book depth, can you explain 'for dummies' how you did it? (I can´t find documentation to use this filter right)
Thanks in advance.