We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33497
    • 30 Posts
    There are two menus atm
    Menu1: Folder1, Folder2, Folder3
    Menu2: FolderN_SubPage1, FolderN_SubPage2, [...]
    

    Menu1 Folder1 stays highlighted while navigating thru its sub pages via Menu2.
    So that part works as it should.

    Now I need another sub nav in FolderN_SubPageN.
    But when I move around via that Sub-SubNav the formerly selected FolderN_SubPageN menu entry in Menu2 looses its active state.

    Menu1 WF Call:
     [!Wayfinder?startId=`0` &level=`1` &hideSubMenus='true' &hereClass=`focused` !]
    

    Menu2 WF Call:
    [!Wayfinder? &startId=`[[UltimateParent]]` &rowTpl=`vo_ml_rowTpl` &hereTpl=`vo_ml_hereTpl`
     &categoryFoldersTpl=`vo_ml_folderTpl` &innerTpl=`vo_ml_innerTpl` &innerRowTpl=`vo_ml_innerRowTpl` !]
    

    Menu3 will be normal links (e.g. a multipart form splitted into various sites for each step/part)

    Doc Tree:
    Folder1
    . . SomeFolder
    . . . .Folder1_SubPage1
    . . . .Folder1_SubPage2
    . . . . . .Folder1_SubPage2_Sub1
    . . . .[...]
    [...]
    Folder2
    Folder3
    

    I hope thats not too confusing smiley
      • 6726
      • 7,075 Posts
      It’s not confusing but I think what we actually need to help here is the content of your &hereTpl, &innerTpl / &innerRowTpl and associated styles/css wink
        .: COO - Commerce Guys - Community Driven Innovation :.


        MODx est l'outil id
        • 33497
        • 30 Posts
        vo_ml_hereTpl
            <li class="activated">
                <a title="[+wf.linktext+]" href="[+wf.link+]">[+wf.linktext+]</a>
            </li>
        


        vo_ml_innerTpl
        [+wf.wrapper+]
        


        vo_ml_rowTpl
            <li>
                <a href="[+wf.link+]">[+wf.linktext+]</a>
            </li>
        


        vo_ml_innerRowTpl does not exist, guess I set it when messing around with WF sometime
          • 24100
          • 35 Posts
          ZeTi, did you find a solution to the problem? I am experiencing the same issue using MODx 0.9.5 and Wayfinder 1.0.

          My setup involves graphics for the main nav and text links for the secondary navigation. My Wayfinder calls are as follows:

          For the main navigation in the header:
          [!Wayfinder? &startId=`0` &level=`1` &outerTpl=`mainOuter` &rowTpl=`mainLink` &hereTpl=`mainCurrent` &activeParentRowTpl=`mainCurrent` &debug=`1`!]


          In the left navigation pane:
          [!Wayfinder? &startId=`[[UltimateParent? &topLevel=`1`]]` &level=`1` &sortBy=`menutitle` &outerTpl=`leftnavOuter` &rowTpl=`leftnavLink` &hereTpl=`leftnavCurrent` &debug=`1`!]


          You can also view it in action with debug on at: http://76.12.25.30/Meet-Our-Doctors.html

          Does anyone else have some thoughts on what the source of the problem may be?
            • 33497
            • 30 Posts
            The way you want it works here.
            I’ll post it tomorrow morning - now’s closing time! wink
              • 33497
              • 30 Posts
              @pixeldriven:
              Well you see the Menu1 and Menu2 WF calls I posted above. Menu1 is your main nav and Menu2 your secondary navigation.
              The documents are placed inside folders, aren’t they?
              Then it should work.
                • 33497
                • 30 Posts
                Couldn’t get it to work yet
                  • 33497
                  • 30 Posts
                  Still not fixed - could any Wayfinder guru help me? wink
                    • 29181
                    • 480 Posts
                    Quote from: ZeTi at Jul 10, 2007, 07:19 AM

                    Menu1 WF Call:
                     [!Wayfinder?startId=`0` &level=`1` &hideSubMenus='true' &hereClass=`focused` !]
                    

                    Menu2 WF Call:
                    [!Wayfinder? &startId=`[[UltimateParent]]` &rowTpl=`vo_ml_rowTpl` &hereTpl=`vo_ml_hereTpl`
                     &categoryFoldersTpl=`vo_ml_folderTpl` &innerTpl=`vo_ml_innerTpl` &innerRowTpl=`vo_ml_innerRowTpl` !]
                    



                    If I understand your problem correctly you want the "active" item in the first and second menu when you select a child.

                    Pretty similar to how I have done www.wssunaa.org

                    If that is the case you need to add a &hereClass=’sec_focus’ to the second navs WF call.

                    Hope that helps,
                    Taff
                      Adrian Lawley: www.adrianlawley.com
                      • 33497
                      • 30 Posts
                      Actually this was the first I have tried, because that’s the way it works in the first menue, but it didn’t work.
                      Tried it again, it conflicts with rowTpl.

                      thanks!