The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Variable question
Maybe someone can point me in the right direction. I'm tryin to get a $variable to show up on my home page(forum home template). Its shows up just fine on the page that the mod was created on but when i move it to any other template it wont show.
My thinking is that a $variable should be able to be moved to any template and be displayed, however that is flawed. Is that because its not a global variable ? Any info would be greatly appreciated. 74 |
#2
|
||||
|
||||
It depends on what hook you are running the code in. If your hook doesn't get 'run' until the end of the page, but the template is being called beforehand, then the variable is not available to be passed to the template.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|