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
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.
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.
Yeah, I didn't want to overwrite, wanted to modify. I'll look at using the hooks to do it, thanks