![]() |
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 |
So what you want to do is add a link to your navbar right? please explain more :D
|
yeah, but I'm talking about doing it automatically when a user installs a product I make.
|
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. |
Quote:
|
All times are GMT. The time now is 03:49 PM. |
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:
|