We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7231
    • 4,205 Posts
    I have a situation where a I need to have wayfinder think that the doc in in one tree when it is actually in another. Anyone know if there is a way to hack wayfinder to get this effect? My logic would be to add a parameter to change the ’here’ state to a predefined id rather than the dynamic one. I took a look at the code but I don’t understand how classes work and cant figure out where this takes place.
      [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

      Something is happening here, but you don't know what it is.
      Do you, Mr. Jones? - [bob dylan]
      • 25663 MODX Staff
      • 12,272 Posts
      It’s already built in with the active templates and active class parameters.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 7231
        • 4,205 Posts
        It’s already built in with the active templates and active class parameters.
        Yes, but I need to tell wayfinder to mark a document (menu item) as active when it is not the active document. I am trying to fool wayfinder into thinking that I am in one container but in reality I am in another.
          [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

          Something is happening here, but you don't know what it is.
          Do you, Mr. Jones? - [bob dylan]
          • 36624
          • 535 Posts
          can you explain better your exact need because actually im thinking that maybe you can use Getfield to retreive the info from the other page.. leaving wayfinder unchanged.

          or

          you can try to think your menu with ditto and phx..

            CTRL+SHIFT+U - Clear Cache
            CTRL+SHIFT+H - Hiding Heft Panel
            CTRL+SHIFT+N - Fast Create Resource
            CTRL+ALT+P - Preview Recource (in edit resorce window)
            CTRL+ALT+S - Save