K
K
kornspb2019-07-11 18:15:34
MODX
kornspb, 2019-07-11 18:15:34

[ModX EVO] How to filter in ditto via tagging extender?

Hello.
Such a task: display links to articles in two different blocks using the igra and schem tags.
Created a TV named tags, with checkbox type with possible values ​​igra||schem.
I added TV to the article template and selected the schem tag on certain articles, but for some reason all published articles are displayed instead of those marked with the schem tag. My request looks like this:

[!Ditto?
&id=`schema`
&tagData=`tags`
&tagDelimiter=`, `
&tagDocumentID=`[*id*]`
&tpl=`@CODE:<li><a href="[+url+]">[+pagetitle+]</a></li>`
&parents=`7`
&depth=`2`
&display=`20`
&paginate=`0`
&outerTpl=`@CODE:<ul class="list-unstyled">[+ditto+]</ul>`]

I will be grateful for your help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kornspb, 2019-07-11
@kornspb

Found a solution. Should have added &tags=`schema` and &tagmode=`onlyTags`

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question