我需要Modx中的以下条件“如果集合(资源#10)包含与等于[[* id]]的电视的资源,那么......
我尝试了几种选择,但它们似乎不起作用。
[[!pdoResources?
&parents=`10`
&depth=`1`
&tpl=`nomatter`
&limit=`1`
&includeTVs=`TV_NAME`
&where=`[ "TV":[[*id]] ]`
]]
[[+total:gt=`0`:then=`....`]]
https://docs.modx.pro/komponentyi/pdotools/snippetyi/pdoresources