![]() |
question about parse_templates
not sure why i'm just thinking about this now but when you parse a template it's after it's processed, right? is there a way to do templatecache['templatename'] = str_replace on a template before it's processed?
|
yes i do in my photobucket mod..
i add via str_replace in a plugin, but i also create a blank template to "render" the new content im adding via the plugin.. - Register variables with preregister - (blank) Templater render - str_replace i dont think its as intended, but its working. |
hmm... i'll have to sneak a peak at your mod if you don't mind.
|
All times are GMT. The time now is 01:11 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:
|