As far as I know I can’t output a text like [[my_text_here]] in the content, because in MODx this means a snippet call. But I need to print a piece of text like this, because I need it as a placeholder for an external newsletter script (poMMo).
Can someone give me a pointer, please?
-
MODX Staff
- 12,272 Posts
That’s a good question... and I suspect it’d require writing a custom plugin that turns off the document parser when it encounters a <code> block. I have no suggestions.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
☆ A M B ☆
- 24,524 Posts
In my experience, MODx just ignores snippet tags that don’t have a corresponding snippet installed.
-
MODX Staff
- 12,272 Posts
That’s very true... you could purposefully misspell the snippet name for illustration purposes... or call it my_text_here-demo ...
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Glad you figured it out, I was just about to suggest that.
Jesse R.
Consider trying something new and extraordinary.
Illinois Wine
Have you considered donating to MODx lately?
Donate now. Every contribution helps.
hi yoomai
It would be nice if you could share with us what you did to implement pommo inside Modx.
It is a great newsletter and know that davidm would maybe try to implement it.