[[+content_image]]
K
K
Ken Jee2015-10-08 15:26:24
MODX
Ken Jee, 2015-10-08 15:26:24

How to make the IF statement work in MODX?

Raised to the server MODX Revolution 2.3.3-pl, release date: 01/29/2015. For some reason, the IF snippet doesn't work.

[[If? &subject=`вопрос` &operator=`EQ` &operand=`index` &then=`1` &else=`2`]]

Those. nothing happens at all. If you simply output вопрос, then it will contain the index value . Has anyone experienced something similar?

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
I
Ivan, 2015-10-08
@Machez

Plugin installed?

I
Igor, 2015-10-15
@ig0r74

docs.modx.pro/system/the-basics/filters-input-and-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question