Kaitlyn2004
07-30-2010, 02:16 PM
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
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