We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12410
    • 353 Posts
    Hi,
    If my navigation is

    ParentA
    >child1
    >child2
    ParentB
    >child3
    >child4

    How if I'm in eg child4 do I display dynamically the immediate parent (ParentB) and its children child3 and child4 using wayfinder/ultimate parent. If I visit child4 I want:
    ParentB
    >child3
    >child4

    Dynamically in the left side nav at the child4 destination page.

    thanks
      • 12410
      • 353 Posts
      Anybody figure this out please? I thought ultimateparent would do it.
      Modx Revo 227, php 5.4, Apache 2, Ubuntu 12.04, latest wayfinder and ultimateparent extras
        • 10076
        • 1,024 Posts
        what did you try? Like this?

        [[!Wayfinder? &startId=`[[UltimateParent]]`]] 
        [ed. note: franklos last edited this post 13 years, 5 months ago.]
          • 12410
          • 353 Posts
          Hi,
          Take this scenario

          Top parent...id1
          >mid parent..id2
          >>childa...id3
          >>childb...id4

          I would expect ultimateparent using the code you supplied to return id 2 if I am in the childa page. Problem is it returns ID 1 the parent of the parent.
          Child's in nested parents seems to break ultimateparent in my environment
          Thanks
            • 12410
            • 353 Posts
            Hi,
            If my navigation is

            ParentA
            >child1
            >child2
            ParentB
            >child3
            >child4

            How if I'm in eg child4 do I display dynamically the immediate parent (ParentB) and its children child3 and child4 using wayfinder/ultimate parent. If I visit child4 I want:
            ParentB
            >child3
            >child4

            Dynamically in the left side nav at the child4 destination page.

            thanks
              • 12410
              • 353 Posts
              My bad...returning to building in modx and forgot that the solution is not ultimate parent but
              ...
              [[!Wayfinder? &startId=`[[*parent]]` &displayStart=`1`  ]]

              Cobwebs on the brain...been a while.
              Thanks
                • 10076
                • 1,024 Posts
                I was just working on an Evo site, where this call works fine, Good it s sorted