The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
modify template through product?
I wanted to find out if you can modify a template with a product's xml file. For example, if I want to modify the navbar template and add a new link. Is this possible or do you have to instruct the user how to add the link to their navbar manually?
If there is a way please point me to the right place to research it Thanks |
#2
|
|||
|
|||
So what you want to do is add a link to your navbar right? please explain more
|
#3
|
|||
|
|||
yeah, but I'm talking about doing it automatically when a user installs a product I make.
|
#4
|
|||
|
|||
You should never perform template overwrites when installing a product. What if someone has customised their navbar template? You will make them lose all their changes.
There are [minicode]$template_hook[/minicode]'s in navbar template. Attach your link in one these hooks, through a plugin, instead. |
#5
|
|||
|
|||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|