Jump to content

Correct Method To Change A Module...


Recommended Posts

Hi guys,

 

I have a very basic question regarding changing a module in Prestashop (1.6.0.9).

 

I am not using the default theme. I am using a custom theme that I purchased from Templatemonster and it is located in the following folder:

 

/themes/theme1005

 

I also have the core Prestashop files and folders installed in the Root:

 

WWW

 

For example, if I want to change one of the TPL files, eg: category-tree-branch-top.tpl, in the "blockcategories" module, do I change the category-tree-branch-top.tpl file that is located in the WWW folder or the category-tree-branch-top.tpl that is located in the file located in the /themes/theme1005/modules/blockcategories folder???

 

Thanks for any help you can provide.

 

Regards

Greg

Link to comment
Share on other sites

you should not have any template files in the root (WWW) of your store.

 

A template file for a module would either be within the modules folder itself

/modules/blockcategories/category-tree-branch.tpl

 

Or embedded within the theme

\themes\default-bootstrap\modules\blockcategories\category-tree-branch.tpl

 

And yes, if located within the themes folder, it will overrides the core module file

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...