PDA

View Full Version : $int_var


paulyy
09-23-2004, 10:42 PM
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?

Xenon
09-23-2004, 11:23 PM
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)

paulyy
09-24-2004, 10:02 AM
Worked like a charm thanks :)

Xenon
09-24-2004, 12:08 PM
you're welcome :)