jleesaxon Posted July 22, 2013 Share Posted July 22, 2013 (edited) Some modules, like blockcms and blockcategories, have .tpl files in both /modules/ and /themes/.../modules/ . They're identical except that the /modules/ versions use <p> for headers and the /themes/.../modules/ versions use <h4>. Why do both exist, and which should I edit? Edited July 22, 2013 by jleesaxon (see edit history) Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted July 22, 2013 Share Posted July 22, 2013 if u want change on tpl then themes/ modules not just blockcms and blockcategories, there are many Link to comment Share on other sites More sharing options...
vekia Posted July 22, 2013 Share Posted July 22, 2013 it's a part of overriding feature, it's not a bug - it's a good practice PrestaShop allows you to override or replace certain front-office module files with new ones within the same theme. The override is governed by the theme: once it contains a /modules folder (or more!), PrestaShop will browse its content for files which have the same name and path as those of existing modules, and replace these with the new ones. if module file exist in the theme directory - edit it exactly as jitenx suggested. 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