Navigation menu template for pages & subpages
This is an open discussion with 2 replies, filed under XSLT.
Search
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.
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?