php tpl whmcs smarty
Allow Smarty PHP tags
How to include a php file inside tpl
Using PHP code in Smarty tpl FIle
How to write php code in .tpl files?



Allow Smarty PHP Tags

setup General Settings Security

Allow Smarty PHP Tags

disabled enabled

php tpl



:

:
{php}
 ini_set('date.timezone', 'Egypt');
{/php}

:
{php}
include "livesupport.php";
{/php}
:
https://whmcs.community/topic/261677...t-recommended/
https://whmcs.community/topic/256029...-on-tpl-files/
https://whmcs.community/topic/65469-...le-inside-tpl/
https://www.smarty.net/docs/en/langu...nction.php.tpl