![]() |
Is it possible to add a template to the cache without file edits?
Is it possible to add a custom template to the cache without file edits? Or do we have to manually add them to globals.php ?
|
Yes, create a plugin attached to the cache_templates hook, containing this ;
$globaltemplates[] = 'template-name'; |
Thanks Paul! You're a star! :)
|
All times are GMT. The time now is 03:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|