On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • I've worked with the wayfinder eBook from kongondo, which is aweseome, to create a splitted navigation with UltimateParent and Wayfinder.
    Now I've the problem that the parent of the submenu-items is no marked as active. For example the document "awards" has three child documents, like "1" to "3". If "1" is selected, the active mark for "awards" vanishes. The parent of the splitted submenu is not marked active, when a submenu item is visited.

    This question has been answered by wie.mar. See the first response.

    • discuss.answer
      Quote from: wie.mar at Mar 26, 2018, 02:45 PM
      I've worked with the wayfinder eBook from kongondo, which is aweseome, to create a splitted navigation with UltimateParent and Wayfinder.
      Now I've the problem that the parent of the submenu-items is no marked as active. For example the document "awards" has three child documents, like "1" to "3". If "1" is selected, the active mark for "awards" vanishes. The parent of the splitted submenu is not marked active, when a submenu item is visited.

      Found a solution which worked for me:
      I've placed this param &hereId= `[[UltimateParent]]` to the wayfinder-call of the parent.

      PARENT WAYFINDER CALL:
                          [[Wayfinder? &startId=`0`
                                       &outerTpl=`nav`
                                       &rowTpl=`nav-item`
                                       &hereTpl=`nav-item-active`
                                       &level = `1`
                                       &hereId= `[[UltimateParent]]`
                          ]]
      


      SPLITTED SUBMENU CALL:
                              [[!Wayfinder? &startId=`[[UltimateParent]]`
                                            &outerTpl=`sidenav`
                                            &rowTpl=`sidenav-item`
                                            &hereTpl=`sidenav-item-active`
                                            &level = `1`
                              ]]
      
      • geordiechris Reply #3, 1 year ago
        Hi wie.mar

        Apologies for gatecrashing the party without bringing a bottle,
        but could you point me to a working link for Kongondo's ebook please?
        The forum link doesn't appear to be working.
        Cannot find it anywhere.

        Many thanks
        Chris
        • It's difficult to find because attachments no longer work in the Forums.

          I found it here:

          https://sottwell.com/links/wayfinder.html

          and here:

          https://drive.google.com/file/d/0B5y4Q9am5QDTOVpIa3Y0VVpjcFU/edit
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
          • Actually attachments should be working again, the younger Sottwell fixed what apparently was a mis-configuration

            • Quote from: BobRay at Aug 14, 2018, 10:29 PM
              It's difficult to find because attachments no longer work in the Forums.

              I found it here:

              https://sottwell.com/links/wayfinder.html

              and here:

              https://drive.google.com/file/d/0B5y4Q9am5QDTOVpIa3Y0VVpjcFU/edit


              Many thanks Bob
              Much appreciated.

              Chris