kayako esupoprt are using smarty lite so can't include php files
Quote:
Originally Posted by rbncha How can I include a template file in side a template ? I went through the forum and some people suggested to use <?php include 'filename.php'?> . However, this doesn't solve my problem. How can I use the <{themepath}> variable in filename.php to point the theme directory then ? It is not converted into theme path by including filename.php with php include. <{ include file='filename.php'}> didn't work.
The hierarchy is something like this:
index.php
-> includes db template file
-> includes filename.php template file
-> filename.php has <{$themepath}> (which is not being converted into path)
I hope I have not duplicated any previous treads as this is slightly different scenario. I have to use a <{$themepath}> inside included file. Or, if there is any way to use or point my file version themes to use instead of database. |