By: desbest tynamite
Date: 2007-08-08
Time: 00:56
|
How do I include php code in my templating files if i give them a tpl.php extension.
How do I include php code in my templating files if i give them a tpl.php extension.
|
By: TomH
Date: 2007-08-08
Time: 03:05
|
Re: How do I include php code in my templating files if i give them a tpl.php extension.
Try
$TBS->LoadTemplate(basename($_SERVER['SCRIPT_NAME'], ".php").".tpl.php") ;
or
$TBS->LoadTemplate('nameyourtpl.tpl.php') ;
|
|
|
Posting in progress.
Please wait...
|