The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
calling custom templates?
Hi Guys,
I did search but i couldn't find exactly what i was after. its kinda silly, but i am still trying to get my head around VBulletin! I have made a template for my banner system, but i dont understand how I can call that in other templates? for example, in 'header', i put $template where i want it, but nothing comes up.... if i paste the code from the $template into the same spot - it all works! sorry, i know i'm a lamer, but how do i make a template that i can call to from other templates? Thanks in advance! Christian |
#2
|
||||
|
||||
In whichever PHP file is delaing with the page put:
PHP Code:
|
#3
|
|||
|
|||
thanks NTLDR, i just worked it out.
i did it a different way, it was probably wrong, but i created a new php file, put the contents in there, used an include to it from the page i wanted it on, then called for it in the template... after typing it, it seems that your way would be quicker/easier.. Christian |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|