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

    In Revolution I use WayFinder 2.1.1RC1
    I want to exclude the resources who have ’Hide in menu’ checked.

    Here my code :

    [[Wayfinder?
    &startId=`0`
    &level=`0`
    &excludeDocs=`28,35`
    &ignoreHidden=`TRUE`
    &outerTpl=`mv.outer`
    &innerTpl=`mv.inner`
    &rowTpl=`mv.row`
    &innerRowTpl=`mv.innerRow`
    &hereClass=`selected`
    ]]

    I don’t understand, because WayFinder show ALL resources with &ignoreHidden=`TRUE` or &ignoreHidden=`FALSE`

    Bug ?

    Thanks for your help
      --
      MacSpyre
      • 26903
      • 1,336 Posts
      try ’true’ rather than ’TRUE’
        Use MODx, or the cat gets it!
        • 17863
        • 32 Posts
        Hi shamblett,

        I already test in uppercase or not, but same results : all resources are displayed sad

        &ignoreHidden=`true`


        Thanks
          --
          MacSpyre
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          How about &ignoreHidden=`1`
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 17863
            • 32 Posts
            Same results :’(
              --
              MacSpyre
              • 22427
              • 793 Posts
              I make the same observation.
              The hidden ressources are not shown only with
              &ignoreHidden=`0`

              They are shown instead in all the other cases
              &ignoreHidden=`1`
              &ignoreHidden=`TRUE`
              &ignoreHidden=`FALSE`

              The same is happening with the parameter [tt]&hideSubMenus[/tt] .
              By the way: With [tt]&ignoreHidden=`1`[/tt] also the submenus are not any more hidden, despite the parameter [tt]&hideSubMenus=`1`[/tt]