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

    The problem seems to be simple:

    - There is a horizontal top-level menu, present on all pages
    - On pages which contain 2-level documents I need also a separate vertical menu, displaying only contained sub-documents.

    But when I call Wayfinder with UltimateParent, it displays not only the needed 2 level pages, but also 1 level menu links.

    I searched for a solution for already 3 days, but it seems that there is no solution for this problem in Revo...

    Who had the same problem, please, help - how did you do it?

    Thanks in advance!
      • 17560
      • 49 Posts
      P.S. This should work, but it doesn't:

      [[Wayfinder? &startId=`[[UltimateParent? &topLevel=`2`]]` &level=`1`]]

        • 29076
        • 615 Posts
        Maybe
         &startId=`[[*parent]]` (or &startId=`[[+parent]]`
        , depending on where you place the call)? [ed. note: Sylvaticus last edited this post 14 years, 6 months ago.]
          I think, thererfor I am! But what I am, and why...?
          • 17560
          • 49 Posts
          Sylvaticus, in this case I'll need diffferent templates for top-level, 2-level and .... n-level pages, it's not a good variant...
          I want to make one template and call Wayfinder so that it displays the needed menu authomatically, depending on page.
          In Evo it was easy.
            • 22427
            • 793 Posts
            I don't see why the following shouldn't work:

            Horizontal menu:
            [[!Wayfinder? startId=`0` &level=`1`]]
            Vertical menu:
            [[!Wayfinder? startId=`[[*id]]` &level=`1`]]
            (or another value you'd prefer for &level).