Navigation DS Filter: Not Hidden
This is an open discussion with 3 replies, filed under General.
Search
Unfortunately, you can’t do negation in data source filters. What you could do I suppose is add a type to designate pages that you want included. So for each page you want in your navigation data source, you could give it a type of, say, “menu”. Then, filter your DS by type: menu
. Make sense?
Ok, that works for me. I hadn’t even thought of adding a page type. Thanks!
I had this problem too. I was expecting to find the “not: hidden” in the DS. It actually took me a few days to figure it out. Now it’s perfectly normal to me to filter out hidden pages in the XSLT. :-)
Create an account or sign in to comment.
I am very new to Symphony so maybe this a dumb question, but when creating my navigation data source, it would make sense to me to filter out pages with the type “hidden” at the data source level. I know it is very easy to do in XSLT, but I figure if I don’t ever use it in my template why include it in the first place. How would go about having a page type filter that is “not hidden”?