-
MODX Staff
- 1,535 Posts
Hi bugsmi(),
By default, if [*content*] is included in a page then it will be picked up by the document parser resulting in the main content being inserted in that position on the page.
To be able to use [*content*] in code examples (where you don’t want the content to be parsed) then you can use the solution posted by Briggsy.
Hope that clarifies, Garry
Garry Nutting
Senior Developer
MODX, LLC
Email:
[email protected]
Twitter: @garryn
Web: modx.com
This is awesome thank you!
There is also a small Plugin that is accomplishing this:
NotParseMODXTags:
http://modxcms.com/NotParseMODXTags-1547.html
Works great for my Blog where I often display HTML plus MODx tags. Used with Google Code Prettify the code really looks sexy*:
http://blog.medianotions.de/de/artikel/2008/modx-feature-kontrolle-ueber-die-html-ausgabe
http://blog.medianotions.de/de/artikel/2008/quelltextausgabe-mit-google-code-prettify
*) only for nerds ;-)
Just when I was desperately looking for that plugin which I could not find thanks for the pointer Bogdan !
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id