![]() |
|
|
Thread Tools |
|
#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 No members have liked this post.
|
|
#2
|
||||
|
||||
|
You need to preregister it using a plugin that is parsed *before* the template is rendered.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
||||
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 18:31.


