Answer the question
In order to leave comments, you need to log in
Output MODx tags to frontend - without converting them?
Good day!
Faced the following problem, how to display MODx tags in frontend so that they are not translated?
For example: 2 - id страницы
The site displays as: 24 - id страницы
Well, etc., placeholders, chunks, etc..?
Tried to wrap in: <code >, <pre>
Everything is even! Everything is converted to the frontend! Used by MODx Revo + CKEditor. How can I resolve the issue of who faced. Google is silent
Answer the question
In order to leave comments, you need to log in
[[*id]]
upd:
For automation, you can write some plugin , which will convert brackets into code via str_replace
I thought about it, but it's not convenient to say the least. Are there any other options?
an , 13:40
If they are issued in
then this option doesn't work, it also outputs [[
Any other options?
To be more clear:
How to display the MODx code on the site itself, which would it not be processed as code?
For example:
[[!Wayfinder?
&startId=`0`
&sortBy=`menuindex`
&outerTpl=`topmenuOuter`
&rowTpl=`topmenuRow`
&innerTpl=`topmenuInner`
&innerRowTpl=`topInnerRow`
&selfClass=`current`]]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question