How can I add php and html "code" to the content. It looks like everything is translated as "text"... for instance if I want to test with in the content page, how do I go about it.
Thanks a lot
HTML/PHP code in content
Re: HTML/PHP code in content
To put php code into CMSMS, you either need to:
1. turn on use_smarty_php_tags in config.php and then do {php}phpinfo();{/php}
2. (the more accepted way) go to plugin management, click New User Defined Tag, put phpinfo(); into the code, name it phpinfo and put {phpinfo} into your template/content.
1. turn on use_smarty_php_tags in config.php and then do {php}phpinfo();{/php}
2. (the more accepted way) go to plugin management, click New User Defined Tag, put phpinfo(); into the code, name it phpinfo and put {phpinfo} into your template/content.