Log in

View Full Version : templatecache more than one template


glennybee
09-03-2012, 06:30 PM
Hi folks,

I have a plugin which uses $vbulletin->templatecache['navbar']. Some of my styles have the navbar options in the header template so the plugin doesn't work with these templates. Is there a way I can cache two templates?

Running vb 3.8.7

Thanks

kh99
09-03-2012, 09:26 PM
How is your plugin using $vbulletin->templatecache['navbar']? If it's doing a str_replace() on it, you might just be able to repeat the same replace using $vbulletin->templatecache['header'].