Search

Hello,

I am sure this has been covered already somewhere but I was not able to find the solution.

What I want to achieve is a simple "split navigation". A main navigation on top of the page and a sub navigation on one side of the page.

Creating the top menu is no problem. But I am struggling with the submenu which should only display sub menu items related to the current/active root.

What could the xslt look like to filter for the submenu items?

<xsl:apply-templates select="/data/navigation/page[@handle=$root-page]/page" />

great thank you!

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