![]() |
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 |
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 |
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 |
anyone have any thoughts?
|
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:
|
Exactly what i was looking for, thanks alot Colin !!!
|
glad I could help
|
All times are GMT. The time now is 08:03 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|