The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Template help?
Hey guys, I am relatively new to vB but I have been given the task of converting a quite large PHPNuke web site to VBadvanced/VBulletin. Now heres the general problem I have, I am completely unfamiliar with the vb form of templates.
If I am wanting to modify the templates, which I have tried various ways of doing, how do i exactly add new templates so that i can just call them like through other templates, ie/ $header calling the teamplate header Cheers |
#2
|
||||
|
||||
Are these templates you are wanting to have $header working in, outside the vBulletin system?
Try this: https://vborg.vbsupport.ru/showthread.php?t=62164 |
#3
|
|||
|
|||
Sorry thought i might clarify myself further,
Say i've made some extra templates and i want to include them in the header, How do i make it so i can call them in the header, ie/ by using a variable $templatename just to include the template? is that possible |
#4
|
|||
|
|||
anyone have any thoughts?
|
#5
|
||||
|
||||
in the php file corresonding to that page (or if it's in a global file, header/footer, in th global.php) add this for each template you want to include:
PHP Code:
|
#6
|
|||
|
|||
Exactly what i was looking for, thanks alot Colin !!!
|
#7
|
||||
|
||||
glad I could help
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|