abbeynism Posted July 19, 2012 Share Posted July 19, 2012 Please I need to place a given chat html code between <head> </head>. Please where I can place this code. I want to use the external chat software. Thanks to all. Link to comment Share on other sites More sharing options...
abbeynism Posted July 19, 2012 Author Share Posted July 19, 2012 Pls I need help!!!!! Link to comment Share on other sites More sharing options...
halennoor Posted July 22, 2012 Share Posted July 22, 2012 try paste it in your /themes/yourtheme/header.tpl before </head>. hope it helps 1 Link to comment Share on other sites More sharing options...
abbeynism Posted July 23, 2012 Author Share Posted July 23, 2012 try paste it in your /themes/yourtheme/header.tpl before </head>. hope it helps I tried this but it did not work. I want to insert a code got from zopim to my page but this is getting harder than expected. Please help me Link to comment Share on other sites More sharing options...
halennoor Posted July 24, 2012 Share Posted July 24, 2012 (edited) apparently it was stated in the site that you need to paste it on the part before </body> tag instead of the head tag as normally done in prestashop. Try in footer.tpl and include {literal} {literal} the script............{/literal} </body> hope it helps. Edited July 26, 2012 by halennoor (see edit history) 1 Link to comment Share on other sites More sharing options...
yybeautyonline Posted August 10, 2018 Share Posted August 10, 2018 On 7/24/2012 at 5:46 PM, halennoor said: apparently it was stated in the site that you need to paste it on the part before </body> tag instead of the head tag as normally done in prestashop. Try in footer.tpl and include {literal} {literal} the script............{/literal} </body> hope it helps. I tried this but it did not work. Link to comment Share on other sites More sharing options...
mausbaus Posted March 3, 2019 Share Posted March 3, 2019 On 8/10/2018 at 11:55 AM, yybeautyonline said: I tried this but it did not work. If you are using 1.7, go to /themes/your_theme/templates/_partials/head.tpl and add the code at the bottom of the file It will add the code right before the </head> even if you don't see the closing tag in that tpl file. 3 Link to comment Share on other sites More sharing options...
XTWeb Posted March 3, 2019 Share Posted March 3, 2019 Il y a 17 heures, mausbaus a dit : If you are using 1.7, go to /themes/your_theme/templates/_partials/head.tpl and add the code at the bottom of the file It will add the code right before the </head> even if you don't see the closing tag in that tpl file. This worked for me ! Thanks Is there any solution to add the code only on one page header ? A page called support for exemple ? Link to comment Share on other sites More sharing options...
mausbaus Posted March 4, 2019 Share Posted March 4, 2019 4 hours ago, Xtase.fr said: Is there any solution to add the code only on one page header ? A page called support for exemple ? Unfortunately I am not a programmer but try: {if $page.page_name=="PAGE NAME HERE"} YOUR CONTENT {/if} 1 Link to comment Share on other sites More sharing options...
noandnoandnoandno Posted July 8, 2022 Share Posted July 8, 2022 On 3/2/2019 at 11:15 PM, mausbaus said: If you are using 1.7, go to /themes/your_theme/templates/_partials/head.tpl and add the code at the bottom of the file It will add the code right before the </head> even if you don't see the closing tag in that tpl file. How do you do this? I have no idea where to find that..I want to add tracking code to my header.. 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