We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25046
    • 194 Posts
    I know that there is a way to exclude pages that are not listed in the menu but is there a way to exclude particular pages any other way? The showInMenuOnly method causes me problems when I work with weblinks so that is why this is of interest. Something like &exclude=`34,45,56` would be ideal or is there some way that can do this easily already?

    Thanks!
      • 1122
      • 209 Posts
      Your problem should be solved with this:
      [[Ditto? ... &filter=`id,34,2|id,45,2|id,56,2` ... ]]
      

      Great resource on Ditto (and your issue, in particular): http://ditto.modxcms.com/tutorials/basic_filtering.html
        • 25046
        • 194 Posts
        Great, thanks Alik. Just what i was looking for! Works perfect!