Answer the question
In order to leave comments, you need to log in
[[+content_image]]
(Modx Revo) An if condition for a specific resource id and all of its child documents?
Hello, the actual question is how to display an if condition for a specific resource id and all its child documents?
[[If?
&subject=`2`
&operator=`inarray`
&operand=`1`
&then=`на главной`
]]
Answer the question
In order to leave comments, you need to log in
You can do it easier and do without the addition:
If id=1 or parent=1, then - On the main page, otherwise - nothing
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question