The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
$int_var
I want to create a var called $int_var to be used in the template system, the same as $header or $navbar is.
I have no understanding of PHP, is there an easy way to do this? |
#2
|
||||
|
||||
the easiest way is to declare it in phpinclude_start template.
but note that you won't be able to use it in any template, just the main ones and a few other (to be precious: in all templates without those generated from an extra function like postbit for example) |
#3
|
|||
|
|||
Worked like a charm thanks
|
#4
|
||||
|
||||
you're welcome
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|