We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12584
    • 208 Posts
    I am just getting to grips with Revo 2.0.8pl and has an issue with the wayfinder menu I am trying to set up.

    I have 6 top level pages showing on the menu and I dont want any of the child pages showing at all so I used &hideSubMenus=`true` which works for all pages except the one that has child pages under it. As soon as I view the page that has the child pages under it on this page only I also see the childpages output by wayfinder.

    Can anyone suggest a way to stop this happening

    Many thanks
      • 33997
      • 150 Posts
      the &hideSubMenus only hides the submenus that are inactive - i.e., if you are on the page that has a submenu, it will be output. Try changing the &level parameter, and set it to 1, this will stop Wayfinder from going beyond the first level, and should accomplish what you want.
        "Great spirits have always encountered violent opposition from mediocre minds." -Albert Einstein
        • 12584
        • 208 Posts
        Goonz

        Yes got ya works fine now.

        Many thanks
          • 36582
          • 463 Posts
          Can’t believe it - I’ve just got to the same situation and following the above I’ve now hidden the menu item but it won’t appear on hover now? I’ve got a feeling my Wayfinder call is out of date. Can you paste your call here so I can take a look?

          Many thanks.


            Web site design in Nottingham UK by Chris Fickling http://www.chrisficklingdesign.co.uk
            • 12584
            • 208 Posts
            Hi

            This is my call

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


            Hope it works good luck
              • 32316
              • 387 Posts
              @chrisandy

              if you use &level=`1` wayfinder will not output the the submenus - hence you will not see them

              if you want them to appear on hover then they have to be there! So do not add the &level=`1`, or use &level=`2` ( or whatever)

              You hide/show the submenus with css.
              Here is a start:

              this hides the submenu:
              .menu ul ul { display: none; }

              this displays the submenu when hovering:
              .menu ul li:hover ul { display: block; }



                • 33997
                • 150 Posts
                for a more detailed showing of the CSS needed, check this one out:
                http://matthewjamestaylor.com/blog/centered-dropdown-menus
                  "Great spirits have always encountered violent opposition from mediocre minds." -Albert Einstein
                  • 36582
                  • 463 Posts
                  Thanks for all the help there.

                  It turned out to be a CSS problem - while copying things over to my Revo test installation I added some ie only CSS to my main style sheet. Having slept on it I spotted it first thing today.

                  The &level`1` or &level`2` made no difference whatsoever. I’m using the CSSplay example menu for now and it’s looking fine - another Revo box ticked!
                    Web site design in Nottingham UK by Chris Fickling http://www.chrisficklingdesign.co.uk
                    • 33997
                    • 150 Posts
                    Great to hear! Always nice to get to the bottom of bugs...
                      "Great spirits have always encountered violent opposition from mediocre minds." -Albert Einstein