Hi everybody,
Is there anyway to write PHP code, or call a snippets inside a document content? (not template)
I love computer programming...
You can call a snippet in the document content in the exact same way as you would call it in a template.
Adrian Lawley: www.adrianlawley.com
-
☆ A M B ☆
- 24,524 Posts
Indeed, all MODx tags can be called in any HTML code, whether in a template, a chunk, a TV or the document content.
You cannot write PHP code in the document content. All PHP is isolated to snippets, plugins, and modules.