Re: [SMARTY] getting template names , etc
| From: | Jason Sweat | Date: | Thu, 06 Jun 2002 19:27:04 +0000 |
| Subject: | Re: [SMARTY] getting template names , etc | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-4659@lists.php.net to get a copy of this message | ||
If you are using a recent version of Smarty, try
putting this at the top of your templates:
<!-- Smarty Template {$smarty.template}
cached at {$smarty.now|date_format:"%Y-%m-%d
%H:%M:%S"} -->
also, when creating your smarty object, the
registering these filters can be useful:
$t = new Smarty;
$t->autoload_filters = array( 'pre' =>
array('showinfoheader'), 'output' =>
array('trimwhitespace'));
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com