{h1: Powerful navigation in {em: Symphony CMS}}
Most of the time creating a menu for your site is easy, but what if you want a little more control? In this tutorial, I'll show you how to reclaim your sites navigation.
{h1: The concept}
First things first, I'm going to pretend I'm building a simple blog like site, with just three major pages -- {em: Home}, {em: Blog}, and {em: Portfolio}.
Our navigation system must do at least {em: two things}:
{ol:
{li: It must flag the current page in the navigation so that users know where they are}
{li: It must give us control over when, and when not to, show navigation items}
}
How can we achieve this? It's easy enough, if you define your navigation as XML inside an XSLT utility then you can use the data sources and parameters available on that very page to change your definition:
{pre.language-xsl:
home with the Id you gave the page in your XML definition:
{pre.language-xsl: