Here is how to get the output you requested. You need to create a few tpl chunks with the parts of the navigation (this is where the power and flexibility of Wayfinder come in handy).
I don’t know enough about Etomite to know how the menus were built there, so I don’t know if the part that says "MAIN MENU" is part of the menu output or the template. I am assuming that it is part of the template in this example:
1) First you need the outer most structure (what holds the nav together, by default these are <ul> tags). Create a chunk, name it whatever makes you happy, I will name it MyOuterTpl to make it easy:
MyOuterTpl =
<tr style="padding: 0px; margin: 0px;">
<td align="left" valign="top" class="navigation" style="padding: 0px; margin: 0px;"><img src="manager/media/images/_tx_.gif" alt="" height="4" />
[+wf.wrapper+]
</td>
</tr>
2) now we create the rowTpl chunk, or the way each link will be displayed within the structure we defined above. We call this chunk MyRowTpl =
<a [+wf.linktext+] href="[+wf.link+]">[+wf.linktext+]</a>
3) now we define the class that the active row will use. By default wayfinder uses the active class for this but you have a class called "highLight", so to over ride the default we use the &hereClass parameter and set it to highlight:
&hereClass=`highlight`
4) now we put it all together in a Wayfinder call:
[!Wayfinder? &startId=`PUT YOUR START ID HERE` &outerTpl=`MyOuterTpl` &rowTpl=`MyRowTpl` &hereClass=`highlight`!]
In your template it would look like this:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="fancyRow2">
<td align="left" valign="top" class="navigationHead"> Main Menu </td>
</tr>
[!Wayfinder? &startId=`PUT YOUR START ID HERE` &outerTpl=`MyOuterTpl` &rowTpl=`MyRowTpl` &hereClass=`highlight`!]
</table>
Note this is not tested but looks like it should work. Hope this works.
The way I break down navigation with wayfinder is to isolate the parts of the navigation structure and then rebuild it in layers.
BTW - this image ’manager/media/images/_tx_.gif’ is not available in the MODx manager.
Note: there are a few bad practices here like using tables and having embedded inline styling. But that is a discussion for another day