We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38359
    • 93 Posts
    Hi there,

    I have a simple Wayfinder problem that I can't figure out.
    When I'm on a parent page I want to display a menu which shows the (current) parent page and its children, and when the same thing on the child pages: the parent page and all the children.

    How do I do this?

    Thanks in advance!
      • 22427
      • 793 Posts
      Try this Wayfinder call:
      [[!Wayfinder? &startId=`[[!UltimateParent]]` &displayStart=`1`]]

      You need to have installed the Addon UltimateParent, see http://modx.com/extras/package/ultimateparent; try the parameters.
      &displayStart=`1` will by default show the pagetitle of the &startId page as a h2-headline. You can modify this by using an own chunk for the parameter &startItemTpl.
        • 38359
        • 93 Posts
        Thanks ottogal, that worked perfectly!
        The only slight issue is that the link to the parent page is always marked as active.
          • 22427
          • 793 Posts
          Like so often - Susan can help: http://sottwell.com/startitem.html