The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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:
|
![]() |
|
|