The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Calling custom templates...
Any reason why I can't call a custom template within a custom template...
My custom template can call an existing template though... For example, I am trying to use vB templates throughout my site but I don't want the forum buttons (members) that are included in $header... so i created $customheader... any reason why I can't refer to custom header... here's the code... pls keep in mind that i am a rookie... Quote:
|
#2
|
||||
|
||||
Hehe use this:
PHP Code:
Regards - miSt |
#3
|
|||
|
|||
that didn't work....
any other suggestions??? I am having trouble calling custom templates within a custom template... no probs with calls to existing ones... |
#4
|
||||
|
||||
There is no way that that code can't work i have you. Just put it in a php file and save it as ________.php. Then create the template it calls and voila. I've used that method several times.
Btw if you need to call a custom template inside another template then make sure it is placed above the previous call. That's why when you look at the code you will see the main template (e.g. forumhome, showthread) will always be the last template called Regards - miSt |
#5
|
|||
|
|||
Thanx Mist... can you provide another suggestion... i have two custom templates being called from a PHP page... but only the first one appears... even if i switch the order... i couldn't quite undertand your above post concerning order...
thanx Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|