Reputation: 37
I am new at smarty and i am trying to put some php code into a TPL
Example:
{php}echo 'test';{/php}
But no i am getting a blank page. Is it possible to enable {php} and how? Thanks!
Upvotes: 0
Views: 510
Reputation: 25414
It's been deprecated. From the documentation:
"As of Smarty 3.1 the {php} tags are only available from SmartyBC."
Source: http://www.smarty.net/docs/en/language.function.php.tpl
Upvotes: 2