medlington Posted January 10, 2019 Share Posted January 10, 2019 Hi, Im completely new to Prestashop but know lots about web development. Im looking for a way to add custom HTML right at the top of the page, directly after the opening <body> tag Ive copied the classic theme and am editing that but I was expecting to find a header.tpl file which doesnt seem to be there. I also looked for a .tpl file that was controlling the entire page as I thought Id be able to add my html in that but all the .tpl files that are in the classic theme only seem to affect the content in the middle section of the site under the header and not the entire page. Can anyone help? Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted January 13, 2019 Share Posted January 13, 2019 The 1.7 theme is annoying to edit. Depending on the layout style you use, you might try to edit the both-columns layout in themes\classic\templates\layouts or the various others and see which one works out. 1 Link to comment Share on other sites More sharing options...
medlington Posted January 14, 2019 Author Share Posted January 14, 2019 Great, Thats all I needed, dont know how Id managed to miss that template file. Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted January 16, 2019 Share Posted January 16, 2019 Well it's just very unintuitive so pretty easy to miss Link to comment Share on other sites More sharing options...
phduval Posted August 3, 2021 Share Posted August 3, 2021 Hi. How would you handle adding two different JavaScript sets of code in a bilingual, English and French, website? For instance, I am looking into using Userlike's chatbox functions on the website. They provided me with two sets of code, one for the English version, one for the French version. This is on Prestashop version 1.7.7.5. Would I put both sets of code, one after the other, in the both-columns layout? Thanks. Link to comment Share on other sites More sharing options...
SmartDataSoft Posted August 3, 2021 Share Posted August 3, 2021 @phduval Using this free module you can add js and css in both language But it do not allow to add language wise js and css. You can contact them if they can adjust it for you Thank you 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