The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to insert a custom template?
Hi,
I'm trying to link to a template I made within another template. I'm obviously doing this so that the info within the custom template can be shown in the other templates automatically. I tried adding $templatename to the template by that hasn't worked. How might I do this? :ermm: |
#2
|
|||
|
|||
Since no one has answered, I'll try to help...
In vB3.0, i used this code in phpinclude_start to create the variable name for template. PHP Code:
Edit: Or put it in the hook that would be executed wherever you're working... |
#3
|
|||
|
|||
Or you using this new template with a new file or a default vbulletin style?
|
#4
|
|||
|
|||
Quote:
Quote:
|
#5
|
|||
|
|||
Opps, I meant to say default file not style.
|
#6
|
|||
|
|||
Quote:
For hook name, find: global_start. For title, call it: I eat babies with syrup (or whatever) In the plugin PHP section put: PHP Code:
Then set YES for 'my plugin is active'. Then put $mytemplatevariable in any template where you want it to show up. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|