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

    I have a main menu generated with wayfinder which is just the top level menu names. I have my menu directories with sub pages and i would like the main directory (top level) to redirect to one of the sub pages...is there a way to do this?
    Here’s an example:

    Menu Item 1 (this has no content, but way finder automatically goes to this page as it’s a top level menu item: (www.myWebsite.com/Menu-Item-1.php))
    Sub item 1 (i want wayfinder to go directly to this link: (www.myWebsite.com/Sub-Item-1.php))
    Sub item 2

    Thanks for any help.

    J
      www.9thwave.co.uk
         WEB | DESIGN | PRINT
      • 4310
      • 2,310 Posts
      [!FirstChildRedirect!] on the empty parent page, the snippet ships with the demo content install.
        • 36549
        • 572 Posts
        thanks Bunk58, I thought Modx would have an easy method to do this.

        wink
          www.9thwave.co.uk
             WEB | DESIGN | PRINT
          • 8085
          • 4 Posts
          Why is that bunk? Do you want a checkbox?

          Seriously, though, just wanted to mention that you have to use

          [[FirstChildRedirect]]

          if

          [!FirstChildRedirect!]

          doesn’t work.