The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Calling a variable. Simple question...well it used to be.
Hi All,
I have the following variable $foo which is defined in a plugin hooked on to global_start. $foo is referred to only in the 'header' template using {vb:raw foo}. But it isnt working. I've read enough stuff about 'registering variables' to make my head spin. But none of what I have read seems to mention where to register the variables (in the plugin, in the template, in a specific hook location????). Help. Thanks |
#2
|
||||
|
||||
You need to preregister it using a plugin that is parsed *before* the template is rendered.
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|