M
M
Makfroy2020-01-24 05:32:22
MODX
Makfroy, 2020-01-24 05:32:22

How to output to MODX template?

Hello, there is an additional field *accessible, checkbox type, I displayed it in the template.


But it was output in the format: Available environment: 1
Question: How to output it in the format: Available environment: Yes

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
D
Dmitry, 2020-01-24
@i__dmitry

Your checkbox most likely returns "1". Therefore:

Only the standard MODX parser doesn't like nested conditions and backticks, so there's a chance for glitches. It is best to write all these conditions on Fenom.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question