Answer the question
In order to leave comments, you need to log in
How to put a condition on tv - a parameter in MODX?
Hello. I have such a question
How to put a condition on tv - a parameter in MODX? (now the output goes by id - this is bad)
There is, for example, TV - parameter
Depending on whether it is empty or not, I need to display a trail of info
{if $_modx->resource.id == 25}(Здесь должно быть условие тв - параметра)
Какие - та слова с версткой
{else}
Очень длинный кусок кода
if $_modx->TV.name !== NULL
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question