![]() |
|
Thread Tools |
#1
|
||||
|
||||
Issues with modifying templatecache
Hello, all.
I'm attempting to replace a string in the footer template, and I'm running into an issue.
$z_temp is getting set - if I echo out the contents, I get the correct content (the footer template contents with the replaced string). However, setting the templatecache at the end is not working: it is not set to the contents of $z_temp, and appears to be unchanged. Any help would be appreciated! No members have liked this post.
|
#2
|
||||
|
||||
Where do you have your plugin hooked?
__________________
Former vBulletin.org Staff Member ![]() Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons No members have liked this post.
|
#3
|
|||
|
|||
It's hooked to global_complete - is that too late in the process?
No members have liked this post.
|
#4
|
||||
|
||||
I usually hook auto-template edits at "process_templates_complete". I can't say your hook is wrong per se, but give that one a try and see if you get the desired result.
![]()
__________________
Former vBulletin.org Staff Member ![]() Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 16:48.