So I’ve run into a small problem with Wayfinder. I’ve got a navigation set up the way I want it to be. This page shows it coded in just plain HTML...this page is not set up on MODx but was my starting point while coding the page. The navigation on the left is what I am after...simple navigation:
http://gpc.my619.com/t_left_hand_nav.html
When setting up my Wayfinder call in MODx, I think (well, I know) I set it up wrong. Here’s what I’m doing:
<div id="column1">
[!Wayfinder? &startId=`57` &outerTpl=`mh.OuterTpl` &innerTpl=`mh.InnerTpl` &level=`2` !]
</div><!--Column 1-->
mh.OuterTpl:
<ul class="Lnav">
[+wf.wrapper+]
</ul>
mh.InnerTpl
<li>
<ul class="Lnav">
[+wf.wrapper+]
</ul>
</li>
Here’s the actual output from the Wayfinder set up above:
http://gpc.my619.com/
On IE6 and 7 it looks fine, but not in FF and other browsers...it’s messed up in those. It’s not outputting the way I had intended for Wayfinder to output it. I guess my question is, what am I doing incorrectly with Wayfinder as my goal is to have this output:
<ul class="Lnav">
<li><a href="#">Solar Home & Office</a></li>
<li>
<ul class="Lnav">
<li><a href="#">All Solar Products</a></li>
<li><a href="#">Another Solar Product</a></li>
</ul>
</li>
</ul><!--Left Nav-->
but instead it is outputting this:
<li><a href="/index.php?id=58" title="Solar Home & Office" >Solar Home & Office</a><li>
<ul class="Lnav">
<li><a href="/index.php?id=66" title="All Solar Products" >All Solar Products</a></li>
<li class="last"><a href="/index.php?id=70" title="Inverters" >Inverters</a></li>
</ul>
</li>
</li>