Search

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”?

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.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details