marouane91 Posted August 3, 2014 Share Posted August 3, 2014 Hello I have this home page where i need to change in it the content of three blocs and display on each oen of them dynamic datas returning the names of my categories who points out to the pages associated with. That been said, i want to edit the code of the page but i need first to know where to find the concerned page, i need to know where to find it ! I have tried to look on the both index pages (index.php & index.tpl), but found nothing intresting inside them, the code was very short. Could anyone help me please ? Thanks Link to comment Share on other sites More sharing options...
Bill Dalton Posted August 3, 2014 Share Posted August 3, 2014 (edited) Prestashop uses the smarty template engine so you need to add code for display in the .tpl files. Take a look in your theme directory. The files you will work with most are header.tpl, footer.tpl and product.tpl Other files are easy to figure out as well for example if you want to modify category pages you would edit category.tpl. All other parts that you may wish to edit will be found in the Module directory. For example your front page will use several modules to display content. Edited August 3, 2014 by Bill Dalton (see edit history) 1 Link to comment Share on other sites More sharing options...
marouane91 Posted August 5, 2014 Author Share Posted August 5, 2014 Thank you so much, very simple and clear explanation helped me to edit my pages. Thank you ! 1 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