![]() |
global_* not woriking in CMS!
hi,
I'm trying to register variables for header template, but they are not working in CMS pages? navbits hook is working great but my problem is that I want to register them for header not navbar template? because all global hooks are not working in CMS, any idea what hook should i use to do this? thanks |
If you look up the global_start template in the files, you will see this:
PHP Code:
|
refactoring stuff huh .. thanks Lynne, you are very helpful person. :up:
|
ok I got something wrong! the $vbphrase doesn't work in global_bootstrap_init_start, any idea?
|
You may need to make it global:
PHP Code:
|
The language is not loaded at that point. What are you trying to do ?
|
Quote:
|
Lynne, I tried to global it but I thought why I should do so I am already using a global hook! .. anyway it's not work.
Paul, I',m trying to add something like this shown in header in all pages: PHP Code:
Lancerforhire, give me the hook name where I can register variables in header template & work in all vb pages & load language |
All times are GMT. The time now is 02:43 PM. |
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:
|