Jump to content

Changing themes only with changing tpl files?


Recommended Posts

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

Topic moved

Yes, 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

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!

Thanks
Claudio

Link to comment
Share on other sites

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

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