We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15094
    • 7 Posts
    I’m putting together my first menu with Wayfinder.

    Everything shows up in the menu except for my Home page. It’s published and the ID is set to 1.

    My call is:
    <div id="menu">
    [!Wayfinder? &startId=`0` &level=`0` &parentRowTpl=`cssplay_revParentRow`!]
    </div>


    My chunk is:
    <div class="menu">
    <li><a [+wf.classes+] href="[+wf.link+]" title="[+wf.title+]">[+wf.linktext+]<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
    
    [+wf.wrapper+]
    
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
    
    </li>
    </div>


    The source of the output page is:
    <div id="menu">
    <ul><li class="active"><a href="http://www.buildlocal.org/" title="Home" >Home</a></li>
    <div class="menu">
    <li><a  href="/index.php?id=2" title="Partners">Partners<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
    
    <ul><li><a href="/index.php?id=3" title="Foresters" >Foresters</a></li>
    <li class="last"><a href="/index.php?id=4" title="Millers" >Millers</a></li>
    </ul>
    
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->


    Isn’t the first <ul> supposed to show up within the <div class="menu"> tag?

    I’m using 9.6 and i get the same behavior in both IE and Firefox. I’ve been looking for two days to solve this myself!!!

    thanx!
      • 15094
      • 7 Posts
      i just created a child page for the Home page and it showed up in the main level of the menu. when i deleted it it was outside the menu again.

      any way to not have to have a child page? or is it better to have every page a child of the home page?

      thanx!
        • 24414
        • 45 Posts
        From: http://www.muddydogpaws.com/development/wayfinder/parameters.html
        The parentRowTpl template is used when processing items that are folders with their children being displayed in the menu.

        I think you need to specify the outer and row templates with the parameters:

        outerTpl
        rowTpl

        as the parentRowTpl only affect documents with children.