Search

Hi everyone,

I’m a beginner to XSLT and after going through the two ‘Hello World’ tutorials I’m attempting to use Symphony for a very simple website I’m developing for a friend. The site has a small number of pages, a couple having sub-pages, and sub-sub-pages. I would like to have the usual menu where hovering over a page link would trigger a drop down for the nested sub-pages.

So… the XSLT navigation menu shown in the tutorial only returns the top level of pages and although its probably very simple, I can’t think of how to recursively parse the XML tree of pages where sub-pages exist.

Could anybody please point me in the right direction?

Of course: Multilevel Navigation XSLT utility.

Just make sure to set <xsl:with-param name="collapse" select="'yes'" /> to no. It will construct a unordered list from all your pages.

Thanks very much phoque, thats perfect!

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