We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20682
    • 31 Posts
    Not sure what is causing this or why.

    I have a css flyout menu with 5 template chunks:

    [[Wayfinder?startId=`0` &outerTpl=`wd.OuterTpl` &innerTpl=`wd.InnerTpl` &parentRowTpl=`wd.ParentRowTpl` &rowTpl=`wd.RowTpl` &innerRowTpl=`wd.InnerRowTpl` &firstClass=`first` &hereClass=``]]

    Everything works great except the row that is created using &parentRowTpl. The parent’s link cannot be clicked and I cannot navigate to it. The subs flyout and are clickable, but I need the parent to be clickable as well.

    Is there something in the code that I can modify to have this happen?

    Here are the chunks. I think they are good - actually, I can’t see why they wouldn’t be!

    [table][tr][td]outer[/td][/tr][tr][td]<ul>
    [+wf.wrapper+]
    </ul>[/td][/tr][/table]
    [table][tr][td]inner[/td][/tr][tr][td]<ul>
    [+wf.wrapper+]
    </ul>[/td][/tr][/table]
    [table][tr][td]row[/td][/tr][tr][td]<li class="category [+wf.classnames+]"><a href="[+wf.link+]" title="[+wf.title+]"><span>[+wf.linktext+]</span></a></li>[/td][/tr][/table]
    [table][tr][td]innerrow[/td][/tr][tr][td]<li[+wf.classes+]><a href="[+wf.link+]" title="[+wf.title+]"><span>[+wf.linktext+]</span></a>[+wf.wrapper+]</li>[/td][/tr][/table]
    [table][tr][td]parentrow[/td][/tr][tr][td]<li class="category [+wf.classnames+]"><a href="[+wf.link+]" title="[+wf.title+]"><span>[+wf.linktext+]</span>
    <!--[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>[/td][/tr][/table]

    Thanks for any help you can offer.
    Sheri
      • 25663 MODX Staff
      • 12,272 Posts
      You don’t have anything closing the "a href" on non IE6/7 browsers.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 20682
        • 31 Posts
        thanks. firefox actually recognizes the ie7 declaration and uses it. I have used this code many times before in other cms/blogging software without issue.

        firefoxes source code indicates through color that it is recognizing the
        <!--[if IE 7]><!--></a><!--<![endif]-->
        declaration and using it to close the tag.

        it’s the strangest thing i have ever come across.

        when I insert a conditional comment to place a closing tag where needed for firefox it still doesn’t work sad
        <!--[if ! IE]><!--></a><!--<![endif]-->

        and i get an extra closing tag when validating.

        Sheri
          • 20682
          • 31 Posts
          It was a styling issue! I have never had that happen before. There was an overlap of elements that hid the the link behind the transparent element.

          Frustrating!!

          Thanks