[[+content_image]]
V
V
VBKesha2014-01-12 01:07:48
MODX
VBKesha, 2014-01-12 01:07:48

Is it possible to somehow explain to the template engine that the output of this snippet does not need to be templated?

There was a problem. There is a site on MODx Revolution, there is a snippet that returns data in JSON format. But bad luck, MODx perceives everything that starts with '[[' as an internal tag and tries to perform a substitution, and as luck would have it, in the generated JSON there is a set of arrays of the form [[1,2,3], [1,5], [13, 38]]. As a result, he considers that this is not JSON, but a template tag and does not allow it to be output to the document.
Question: is it possible to somehow explain to the template engine that the output of this snippet does not need to be templated?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question