emassy Posted March 11, 2015 Share Posted March 11, 2015 (edited) Hello, I would like to create an index.html page for my website and use the Prestashop Theme (Header & Footer) for seamless appearance. How can I embed the theme in the html pages? Where would the source files for the Theme be located? And, would I just copy the script into the html pages? Thank you! Edited March 11, 2015 by emassy (see edit history) Link to comment Share on other sites More sharing options...
jgamio Posted March 12, 2015 Share Posted March 12, 2015 I dont think is the best way but works go to the header and check if the page is the index then include your html but you need check dont use the the home hooks Link to comment Share on other sites More sharing options...
emassy Posted March 12, 2015 Author Share Posted March 12, 2015 Thanks but I don't quite follow. Can you explain the steps in detail? I am quite new with Prestashop. Thank you! Link to comment Share on other sites More sharing options...
jgamio Posted March 12, 2015 Share Posted March 12, 2015 ok repeat is not the best but work 1) you need go to your templates files themes/YOURTEMPLATE/header.tpl look for {if $page_name !='index' && $page_name !='pagenotfound'} {include file="$tpl_dir./breadcrumb.tpl"} {/if} after add {if $page_name =='index' } {include file="$tpl_dir./yourhtml.tpl"} {/if} save you tpl as tpl in these directory at these moment you can see you html 2) Prestashop use hook to show info you can go to the backoffice modules -> positions and look for displayHome you need hide these info to not be show on the home Other option But maybe you can create a CMS page and use as home but i am not sure about these Other option create your own page but you need create your controller and you need code some Link to comment Share on other sites More sharing options...
emassy Posted March 12, 2015 Author Share Posted March 12, 2015 Thank you so much! I will give it a try. Link to comment Share on other sites More sharing options...
Prestachamps Posted January 19, 2021 Share Posted January 19, 2021 Hi @Segitterius - Probably that's not the right topic to ask help for I can feel you're frustrated, however can you elaborate for me in 1 phrase what your issue is, as I'm certain that there is always a solution. I'm doing this from too long, and would hate you see gone! Regards, Leo 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