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

    I want to make a menu at the top (1), and a sub-menu at the left (2).
    I created the top menu with wayfinder.

    On the left, I want to display the child-links of the link in the topmenu.
    That is also to manage with wayfinder.


    But when I click a link, I want to go to the child page, and not to the link page.

    For example see the images:




    I made a few topmenu links.

    When i click on home (id 58), i want to go to page Welkom (id 59).

    Is this possible with wayfinder?



    This is my code now:

    [[Wayfinder? &startId=`0` &level=`1` &hereClass=`current`  ]]


    But when i click on the link home, it links to the home page (id 58). But I want him to link to the first child page (id 59) huh

    Please help:)

    Greetz,

    Pieter.



      • 15987
      • 786 Posts
      There isn’t a way to do this with wayfinder that I can think of, but you might take a look at this snippet:

      http://modxcms.com/phiRedirect-1537.html
        • 16183
        • 1,390 Posts
        or....this one..FirstChildRedirect

        http://modxcms.com/FirstChildRedirect-834.html

        there’s a slight (?) difference between this and phiRedirect....they seem to be very similar.

        cheers/k