We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29902
    • 72 Posts
    I am using tables to make my menu, and I want to use tables and I am not interrested in using list for this perticular menu.

    This is what I want to have:
    <table>
    <tr>
    <td class="first active"><a href="#">Forsiden</a></td>
    </td>
    </tr>
    </table>
    


    this is what I get:
    <table>
    <tr>
    <ul><td class="first active"><a href="#" >Forsiden</a></td>
    </ul>
    </tr>
    </table>
    


    This is the wayfinder code I have on the page:
    <table>
    <tr>
    [!Wayfinder? &startId=`0` &rowTpl=`MenuOuterTpl` &firstClass=`first`!]
    </tr>
    </table>
    


    This is the MenuOuterTpl chunk:
    <td[+wf.classes+]><a href="[+wf.link+]" title="[+wf.title+]" [+wf.attributes+]>[+wf.linktext+]</a></td>
    


    What am I missing here? I want the extra <ul> that shows up to not show up smiley
      ...I believed it was Friday...
      • 3707
      • 241 Posts
      You need to add a &outerTpl parameter to your Wayfinder call as well as the &rowTpl you already have.

      If you look at the documentation here http://www.muddydogpaws.com/development/wayfinder/parameters.html, you can see that the default &outerTpl parameter inserts the <ul> tags:
      <ul id="topnav"[+wf.classes+]>
      	[+wf.wrapper+]
      </ul>
        • 29902
        • 72 Posts
        Thank you smiley That fixed it smiley
          ...I believed it was Friday...