autonav displaying certain pages
PermalinkThe site contains a functional navigation with side pages like "contact", or "situation plan".
For now I put this pages under a separated folder called "top navigation", and set autonav to show only pages under this folder. The downside is that the url in the browser is looking like that:http://www.werkzeugservice.ch/work/index.php/top_navigation/kontakt...
Is there a better way to deal with this?
cheers
André

whelp in cases like that i would sometimes make the primary nav a content block managed through the page type defaults - then you dont have to worry about it changing without you intending it to.
...
if (!$_c->getCollectionAttributeValue('exclude_nav') && !$_c->getCollectionAttributeValue('exclude_topNavigation') ) {...
(of course with the different Page Attributes handlers.)
This way its possible to choose what is displayed where, even if the page should be visible in both navigations.