Hi,
I am using Modx for a few months and i love the creative freedom it gives you as a web designer. But that also gives me some headaches because i have designed a website that contains a separate submenu. Which i can't get to work.
This is what i have in mind:
The website has a menu wich display al menu items and the submenu items. When you are on a page wether it is a parent or a child i want a submenu to display that contains the parent as the title and the children as links.
So basicly i want a separate submenu that always display the correct parent as menu title and children as links.
Here is the code so far:
nav chunk:
<nav id="nav">
[[Wayfinder?
&startId=`[[UltimateParent? &topLevel=`1`]]`
&level=`2`
&outerTpl=`nav_outer`
&rowTpl=`nav_outer_row`
&displayStart=`[[UltimateParent]]`]]
</nav>
outer template:
<ul class="spc_menu rnd_brdr shadow_rnd">
<h1 class="red Century_Gothic vet">Name menu</h1>
[[+wf.wrapper]]
</ul>
outer row template:
<li><a href="[[+wf.link]]" title="[[+wf.title]]">[[+wf.linktext]]</a>[[+wf.wrapper]]</li>
Please help.
Regards Arjan