PHP in content or templates
Posted: Thu May 17, 2007 9:01 pm
I'd like to use PHP to conditionally include files in my templates and content. Is this possible -- inserting PHP code in templates or content records a la:
Content management as it is meant to be
https://forum.cmsmadesimple.org/
Code: Select all
#Allow smarty {php} tags? These could be dangerous if you don't trust your users.
$config['use_smarty_php_tags'] = true; <--this has to be set to true
Code: Select all
{php}phpinfo();{/php}