We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 52647
    • 9 Posts
    I want to exclude all docs in my Ditto call that have a certain template-variable... say tv-1 with a value. Well, it doesnt matter if the TV has a value or not. Just the presence of the TV applied to a specific resource document would already be enough to exclude it. On second thought, the exclusion by "template", for example TPLcourse would also work.

    Is that possible?

    I found this thread but unfortunately the extender code is no longer available... sad
    https://forums.modx.com/index.php?action=thread&thread=44012&i=1

    Currently my working Ditto call is following:

    [[Ditto? &id=`siblings` &parents=`[*parent*]` &filter=`id,[*id*],2` &depth=`1` &tpl=`read-more` &paginate=`1` &display=`1`]]
    [ed. note: rbez0s last edited this post 10 years, 1 month ago.]