modxmodx-evolution

Ditto - exclude a child from a parent


How to exclude a specific child resource from Ditto call. From parent 55, I want to exclude child resource 28.

 [!Ditto? 
      &parents=`2,55` 
      &depth=`1` 
      &tpl=`base` 
      &paginate=`1` 
      &display=`5` 
      &orderBy=`date`
 !]

Solution

  • It looks like you can use a filter to removed unwanted IDs check the docs

    the docs outline the format, it should be:

    &filter=`id,28,2`