![]() |
Uncached templates
im on vbull 3.8.1
and i have uncached templates on forumindex,does anyone know how i can cache them. The templates which are showing up uncached are ones ive added myself so any help would be appreciated. |
Read that article, roughly in the middle of the article.
https://vborg.vbsupport.ru/showthread.php?t=62164 |
65 pages is a lot to read m8
|
The first box gives a description of how to add templates to cache them, you can also use a plugin to cache the templates.
|
hook location - cache_templates:
PHP Code:
|
Lynne
im actually after caching templates that the link above points to as im using that to display external pages. I know u done about hooks so do i just add that to the php file etc ?? |
Just change:
PHP Code:
PHP Code:
|
cheers will do
--------------- Added [DATE]1234209531[/DATE] at [TIME]1234209531[/TIME] --------------- dont follow - do i add this into the actual PHP file ? |
Plugin, no?
Quote:
|
Yes, a create a plugin (Plugins & Products > Add New Plugin) using the "cache_templates" hook location.
|
All times are GMT. The time now is 05:25 AM. |
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:
|