I was wondering if there's any kind of documentation on how to cache & fetch templates.
I wrote a custom template but when I try to retrieve it lets say
$XXXXXX
it doesn't come up.
somebody told me that you have to have 2 plugins to cache & fetch the templates so that they will register in vb.
Are these file modifications and if so, can somebody tell me which files.
Also if there is more in depth documentation on this somewhere can u please point me to it.
thx
I wrote a custom template but when I try to retrieve it lets say
$XXXXXX
it doesn't come up.
somebody told me that you have to have 2 plugins to cache & fetch the templates so that they will register in vb.
Is $XXXXXXXXXX a custom template you made? If so, you'll need 2 plugins, one to cache it and one to fetch it.
Plugin 1: cache_templates
$globaltemplates[] = 'template_name_here';
Plugin 2: global_start
eval('$XXXXXXXXXX = "' . fetch_template('template_name_here') . '";');
Plugin 1: cache_templates
$globaltemplates[] = 'template_name_here';
Plugin 2: global_start
eval('$XXXXXXXXXX = "' . fetch_template('template_name_here') . '";');
Are these file modifications and if so, can somebody tell me which files.
Also if there is more in depth documentation on this somewhere can u please point me to it.
thx
Comment