Help guys!!!
I'm trying to assign variable in welcome.tpl:
{ config_load file="special.tpl" }
- works fine - get parsed to other tpl as {#specialid#}
and tried this one
{assign var="specialid" value="71"}
- works too - get parsed to other tpl as {$specialid}
how to use this variable in php script which is included
in home.php like this:
include "../modules/Special/special.php";
???
Everything works if I hard code variable directly
in php, but I have to send it from tpl
Is there anything like "$smarty.specialid" to use in php scripts?
Thank you