The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How do I call one template from another?
Ok. I'm new to all of this, so I've got a question:
I'm working on the Header template and inside of it I have managed to create a column on the left where I want to put a seperate menu from the navbar. That's easy enough to do, but I want to create 3 child styles. I do not want to have to extensively edit each of the four styles everytime I make a change to a portion of the header that should be the same for all four, so I'd like to call SEPERATE templates in the Header one. Is this possible? I.E. Header includes MenuTop, MenuMiddle, and MenuBottom. Being new and all, I thought I could call one template from another just by sticking a $ in front of the template title (I.E. $MenuTop). But that didn't work. Is there a way to actually duplicate that? |
#2
|
|||
|
|||
You need to edit global.php
Find this: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#3
|
||||
|
||||
Thank you so much. I was starting to get desperate. You're a life saver. (Literally. The organization I'm doing the site for would have killed me if I didn't get this done. But you didn't hear it from me. )
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|