Quote from: rickardbe at Sep 02, 2010, 03:30 AM
What should i write in the template
<ul id="nav">
<ul class="dropdown dropdown-horizontal">
is this the correct way that you have wrote above.
<ul id="nav">
<ul class="dropdown dropdown-horizontal">
[[Wayfinder? &startId=`0` &level=`1` &outerClass=`dropdown dropdown-horizontal`]]
</div>
Have you got you navigation working within static html, so if you manually create the nav in the html without the use of wayfinder. If not i’d recomend doing this first as it’s then easier to break up and create the correct wayfinder templates.
But any how you don’t need to nest a ul within another ul. Also don’t put the wayfinder call within the <ul>. Just make your outerClass chunk contains the UL, so for example:
<ul id="nav" class="dropdown dropdown-horizontal"[[+wf.classnames]]>
[[+wf.wrapper]]
</ul>
You may need to adjust the CSS as the id=nav is now applied to the same UL with the dropdown class.
You will also need an &innerTpl in the wayfinder call. Give the chunk somthing like:
<ul[+wf.classes+]>
[+wf.wrapper+]
</ul>