|
Posted by Andreas Otterstein on 04/22/05 11:01
Hi,
i have some problems with fetch and caching.
// caching-id
$c_id = 'Cat'.$_GET['id'].'-Page'.$_GET['page'];
$tpl->caching = true;
if(!$tpl->is_cached('foo.tpl',$c_id)) {
//make DB and other
}
$tpl->assign('content',$tpl->fetch('foo.tpl',$c_id));
but the problem is that one $c_id will be created but no next one.
i meant one caching file, other $c_id will be ignored..
Whats wrong?
Best wishes,
Andreas
[Back to original message]
|