lateral Posted December 18, 2015 Share Posted December 18, 2015 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 More sharing options...
SLiCK_303 Posted December 18, 2015 Share Posted December 18, 2015 Change the one in your theme.... Link to comment Share on other sites More sharing options...
lateral Posted December 18, 2015 Author Share Posted December 18, 2015 Thanks mate So am I correct in that the module in the theme is looked at before the one in the WWW folder? Regards Greg Link to comment Share on other sites More sharing options...
bellini13 Posted December 18, 2015 Share Posted December 18, 2015 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 More sharing options...
lateral Posted December 18, 2015 Author Share Posted December 18, 2015 Hi Bellini13 Sorry for the confusion, there are no template files in the WWW (Root) folder. Thanks Regards Greg Link to comment Share on other sites More sharing options...
lateral Posted December 18, 2015 Author Share Posted December 18, 2015 What folder contains the core files? Link to comment Share on other sites More sharing options...
bellini13 Posted December 19, 2015 Share Posted December 19, 2015 what core files are you referring to? Link to comment Share on other sites More sharing options...
lateral Posted December 19, 2015 Author Share Posted December 19, 2015 I think what I am referring to as the "Core files" are the files and folders that Prestashop creates when it is installed. I am assuming that these are all in the root (WWW) folder? Link to comment Share on other sites More sharing options...
bellini13 Posted December 20, 2015 Share Posted December 20, 2015 These Core files exist in many folders. I would suggest you download the original zip package for your version of Prestashop, and extract the zip on your desktop temporarily so you can see Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now