Page 1 of 1

PHP code in page content

Posted: Thu Mar 30, 2006 3:58 pm
by marvado
How can I insert PHP code inside the content of a page
I tried tags and it didn't work. CMS apparently comments it out the tags as soon as it saves.

Re: PHP code in page content

Posted: Thu Mar 30, 2006 4:01 pm
by calguy1000
Two methods: 

a) Use a user defined tag (this is the preferred method)
b) surround your php code with {literal} and {/literal} tags.

Re: PHP code in page content

Posted: Thu Mar 30, 2006 4:03 pm
by marvado
thanks!

{literal} works fine!