![]() |
Inject into header template from global_start?
As part of my upgrade to vB4 it seems I can no longer inject variables into header template via the global_start hook
Obviously I changed it to the vB_Template::preRegister() method, but it doesn't work. If I make the hook global_bootstrap_init_start, all is well! I see TONS of examples online of preRegister() with the header template, so any idea why it wouldn't be working for me? To make matters worse, it appears as though my friend's setup (during our testing) which is VERY VERY similar to mine seems to work fine with the global_start hook spot. What gives!? :( SO FRUSTRATING |
You shouldn't be using the global_start hook, but use the global_bootstrap_init_start hook instead:
Code:
// Deprecated as of release 4.0.2, replaced by global_bootstrap_init_start |
All times are GMT. The time now is 11:32 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:
|