Quote from: tat2d at Aug 11, 2009, 04:07 PM
I’m sorry, that doesn’t really make sense to me. I’m not adding li tags, it does it automatically. All I added to the menu page was
<div id="slidetabsmenu">
[!Wayfinder?startId=`0` &level=`1` %rowClass=`slidetabsmenu`!]
</div>
In order to output a menu correctly, Wayfinder has a 3 default templates which it will default to using if you don’t specify your own. These are the outerTpl (which is used to construct the ul - outer container - of the menu), the rowTpl (which is used to construct the rows of the menu - i.e. the li bit) and the startItemTpl (which will be used if you set the parameter &displayStart to true).
So, in your case, since you haven’t specified any rowTpl, WF is using its default one. In order to have those spans, you need to create a rowTpl with the necessary code (for instance the code I posted above) and specify it in your WF call e.g.
[!Wayfinder? &startId=`0` &rowTpl=`menuRows` &level=`1` &rowClass=`slidetabsmenu`!]
where menuRows is the name of a chunk containing the above or similar code (i.e. the code with the spans). You can give the chunk a more meaningful name, other than menuRows.
Have a look at this site:
http://www.muddydogpaws.com/development/wayfinder/parameters.html
and it will do you good to grab a copy of the WF e-book in my sig
cheers/k