Re[2]: [SMARTY] Cache groups problem
| From: | Katana | Date: | Wed, 19 Feb 2003 14:47:56 +0000 |
| Subject: | Re[2]: [SMARTY] Cache groups problem | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7882@lists.php.net to get a copy of this message | ||
MO> You have to supply a group name when you call display() to
MO> put the templates into a group. Then you can remove them by
MO> that group.
>> $cache_id = "galeries/view_details.php|$id_image";
>>
>> $tpl->display('galeries/main.php', $cache_id)
>> for every page
The group here is "galeries/view_details.php|$id_image" (e.g. a
group called galeries/view_details.php, another called $id_image
right ? or at least a group called galeries/view_details.php :)
Or do I have to add something...
I have checked the way the directories are written, it looks like
they are ok, i have subdirectories matching the subgroups i set
in my cache id... but nothing is deleted.
Katana