We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20682
    • 31 Posts
    Wayfinder v2.0, modx0.9.6

    I have two snippet calls:

    One for inclusion:
    [!Wayfinder?&startId=`0` &includeDocs=`1,47,48,49,50,74,73,59` &outerTpl=`wd.OuterTpl` &innerTpl=`wd.InnerTpl` &parentRowTpl=`wd.ParentRowTpl` &rowTpl=`wd.RowTpl` &innerRowTpl=`wd.InnerRowTpl` &firstClass=`first` &hereClass=`you_are_here` &sortBy=`menuindex`!]


    and one for exclusion:
    [!Wayfinder?&startId=`0` &excludeDocs =`1,47,48,49,50,74,73,59` &outerTpl=`wd.OuterTpl` &innerTpl=`wd.InnerTpl` &parentRowTpl=`wd.ParentRowTpl` &rowTpl=`wd.RowTpl` &innerRowTpl=`wd.InnerRowTpl` &firstClass=`first` &hereClass=`you_are_here` &sortBy=`menuindex`!]


    The inclusion works as expected. The exclusion does not remove any of the ids listed.

    Page1 is not a container
    Page47 is a container that holds all of the other ids

    For the inclusion script I had to list all the children of 47, as without listing, they were not included.

    Does anyone have an idea as to why the exclusion does not exclude?

    Thanks
    Sheri
      • 20682
      • 31 Posts
      whoops! there was a space between &excludeDocs and the = sign.
        • 31039
        • 49 Posts
        similar problem but i don’t have an issue with spaces

        [[Wayfinder? &startId=`0` &excludeDocs=`22` ]]