Jump to content

Override nav.tpl and toolbar.tpl


Recommended Posts

Hi all,

 

What I want to accomplish is the override of nav.tpl and header.tpl files. I don't have any other solutions available, as what I want to do extends beyond enabling/disabling of menu items. I want do to a proper customization of those two navigation bars. Basically both of those files are located here:

 

admin/themes/default/template/nav.tpl

admin/themes/default/template/header.tpl

 

I've read in a few forum threads online that it is possible to override .tpl files that are actually in the controller directories, but since my two examples are not in that location, I'm wondering how to accomplish this task.

 

Any ideas on this matter would be appreciated.

Edited by AC Luigi (see edit history)
Link to comment
Share on other sites

Of, found an answer in the official documentation where it states the following:

 

As there is no inheritance, there is no way to override a view. In order to change a view, you must rewrite the template file, and place it in your theme/module's folder, in the same path.

 

Source

http://doc.prestashop.com/display/PS16/Views+within+PrestaShop

 

So I guess that's that. Hope this helps anyone else having this question.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...