Claudio10 Posted June 2, 2010 Share Posted June 2, 2010 Hi folks,I am very new with prestashop and not yet made any major modification.To change the look of a store, such as http://www.archiduchesse.com/ or http://www.homology.com is all done from the tpl or i have to change the core and modules, like blockcategories?My main question is, supports prestashop leave intact core standards and modules to maintenance easily some sites, or I have to touch the core and load different modules to achieve major changes, other than the typical lateral spine, boxes and other .There is a theme http://ipno.tik.free.fr/blackwhite/ that i like, I download the source and see, it has changed blockcategories modules and several more.Greetings and thanks!Claudio Link to comment Share on other sites More sharing options...
rocky Posted June 2, 2010 Share Posted June 2, 2010 Topic movedYes, it is all the TPL files that control the appearance of the website. You should modify the TPL files in the theme directory. If you need to modify a module's TPL file, copy the TPL file into your theme's directory like themes/yourtheme/modules/blockuserinfo/blockuserinfo.tpl to override modules/blockuserinfo/blockuserinfo.tpl, for example. Link to comment Share on other sites More sharing options...
Claudio10 Posted June 2, 2010 Author Share Posted June 2, 2010 OK, if i understand well, If i replace a file that exists in the core like modules/... into my themes, prestashop takes my new tpl file.And if it has a mistake, i remove this new file and presta take the original? is it ok? Very Clever!ThanksClaudio Link to comment Share on other sites More sharing options...
rocky Posted June 2, 2010 Share Posted June 2, 2010 Yes, PrestaShop first looks for the module's template your theme directory. If it doesn't find it, it will use the one inside the module directory. Link to comment Share on other sites More sharing options...
AudioPro Posted June 3, 2010 Share Posted June 3, 2010 Let me see if I have this right as well. let's say I'm modifying blockpermanentlinks-header.tpl that's normally in the modules sub-directory. Now if I were to take this tpl file and drop it into my theme folder the site will default to the changes made to the version in my theme and NOT the one in modules?-Carl Link to comment Share on other sites More sharing options...
rocky Posted June 3, 2010 Share Posted June 3, 2010 Yes, that's right. 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