RE: [SMARTY] Insert and error
| From: | Eduardo | Date: | Thu, 06 Feb 2003 20:08:32 +0000 |
| Subject: | RE: [SMARTY] Insert and error | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7558@lists.php.net to get a copy of this message | ||
You need to pass the smarty object too:
function smarty_insert_prepare($params, &$smarty)
{
bla bla
....
return $smarty->fetch($params['template']);
}