Answer the question
In order to leave comments, you need to log in
[[+content_image]]
How to make MODX parse snippets in a chunk when calling getChunk?
A simplified example $output = $modx->getChunk('abc');
in the abc chunk, let's say the following: <b></b>
as a result, we have <b></b> in the $output variable. At the same time, chunk tags are parsed, but snippet tags remain raw. What to do?
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