Search

Hello, I still work on the “Say hello to symphony” tutorial. In order to hide e.g. the navigation-entry the tutorial recommends to fix that in the master.xsl file. My navigation template therefore looks like that:

enter code here

However, the Greetings entry page does not hide even though I choose ‘hidden’in the Page Type field. What could be the problem here?

Thanks a lot, Iago

Or better like that:

<xsl:template match="navigation">
<ul id="nav">
    <xsl:apply-templates select="page[not(types/type = 'hidden')]"/>
</ul>

Of course the template is closed with enter code here

<xsl:apply-templates select="page[not(types/type = 'hidden')]"/>

This statement should be in your master.xsl utility. I’m not sure but I think that you are saying above that you have it in your navigation template.

Hi wisolman, sorry for the confusion!! There must be something wrong with the PHP-Parser within my Apache Server. After a few trials everything works fine!!

Thanks, Iago

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