Quote:
Originally Posted by Princeton
add the template to the cache_templates hook (plugin):
Code:
$globaltemplates[] = 'Marquee_Text';
|
That works for me too. So I need to have to plugins for one template. One to call it and one for caching it, right ?
Call it
PHP Code:
eval('$sidebar= "' . fetch_template('sidebar') . '";');
Cache it
Code:
$globaltemplates[] = 'sidebar';
and can I cache several templates in the same plugin ?
Thanks