MargaritaS Posted May 15, 2015 Share Posted May 15, 2015 (edited) Do you know how I can eliminat in PS 1.6.0.13 Header phone? in: /themes/default-bootstrap/modules/blockcontact/nav.tpl At the end appear this lines: {if $telnumber} <span class="shop-phone"> <i class="icon-phone"></i>{l s='Call us now:' mod='blockcontact'} <strong>{$telnumber}</strong> </span> {/if} And I changed it for that: {* {if $telnumber} <span class="shop-phone"> <i class="icon-phone"></i>{l s='Call us now:' mod='blockcontact'} <strong>{$telnumber}</strong> </span> {/if} *} But still appears the head phone I tried removing the lines and also apperas the header phone. What can I do? Edited May 15, 2015 by MargaritaS (see edit history) Link to comment Share on other sites More sharing options...
las3r Posted May 15, 2015 Share Posted May 15, 2015 Try emptying out your cache (Back office -> advanced parameters -> set cache off + compile and turn it back on.). 1 Link to comment Share on other sites More sharing options...
jamilda Posted May 15, 2015 Share Posted May 15, 2015 Try to clear your cache after comment or delete line. Back office -> Advanced parameters -> Performance -> Clear cache (right top corner) 1 Link to comment Share on other sites More sharing options...
TribalDexterD Posted May 15, 2015 Share Posted May 15, 2015 Hi, the right way to comment a line is /* content to comment */ or in html <!-- contente to comment -->. However, go to Modules -> Block contact and configure. Delete the number here and save. 1 Link to comment Share on other sites More sharing options...
las3r Posted May 15, 2015 Share Posted May 15, 2015 Hi, the right way to comment a line is /* content to comment */ or in html <!-- contente to comment -->. However, go to Modules -> Block contact and configure. Delete the number here and save. That means that the HTML will still be output to the browser, beit as a comment. The way that MargaritaS is doing it will block smarty from even rendering the code (saves processing time as well....)! Try to clear your cache after comment or delete line. Back office -> Advanced parameters -> Performance -> Clear cache (right top corner) That's the way - my bad! Link to comment Share on other sites More sharing options...
MargaritaS Posted May 15, 2015 Author Share Posted May 15, 2015 Try to clear your cache after comment or delete line. Back office -> Advanced parameters -> Performance -> Clear cache (right top corner) I do it. bit still appears the line Try emptying out your cache (Back office -> advanced parameters -> set cache off + compile and turn it back on.). I do it, but still appears the line Hi, the right way to comment a line is /* content to comment */ or in html <!-- contente to comment -->. However, go to Modules -> Block contact and configure. Delete the number here and save. I do it, but still appears it Link to comment Share on other sites More sharing options...
las3r Posted May 15, 2015 Share Posted May 15, 2015 Perhaps this is loaded somewhere else. Is this (perhaps) a custom module that overwrites the top nav module? Go to /modules/blockcontact and search for .tpl files there. It might be in a different .tpl (not overwritten by your theme). IF you find a different .tpl there, copy it to the /default-theme/modules/blockcontact and make the changes (so you leave the core files alone). Good luck! Link to comment Share on other sites More sharing options...
MargaritaS Posted May 15, 2015 Author Share Posted May 15, 2015 Try to clear your cache after comment or delete line. Back office -> Advanced parameters -> Performance -> Clear cache (right top corner) Well, now I will try after delete line. Link to comment Share on other sites More sharing options...
MargaritaS Posted May 15, 2015 Author Share Posted May 15, 2015 Perhaps this is loaded somewhere else. Is this (perhaps) a custom module that overwrites the top nav module? Go to /modules/blockcontact and search for .tpl files there. It might be in a different .tpl (not overwritten by your theme). IF you find a different .tpl there, copy it to the /default-theme/modules/blockcontact and make the changes (so you leave the core files alone). Good luck! I seethat if I disable the contact block in modules-> block of contact -> disable The line disappear but also disappear the contact form of the top. Link to comment Share on other sites More sharing options...
MargaritaS Posted May 15, 2015 Author Share Posted May 15, 2015 I want in the header the contact form. Link to comment Share on other sites More sharing options...
MargaritaS Posted May 15, 2015 Author Share Posted May 15, 2015 Is better have the caché on or off when I'm working the template? Link to comment Share on other sites More sharing options...
TribalDexterD Posted May 15, 2015 Share Posted May 15, 2015 IMHO is better off, but remember to refresh your browser with CTRL + F5 or CTRL + R, in this way you empty the local cache. 1 Link to comment Share on other sites More sharing options...
las3r Posted May 15, 2015 Share Posted May 15, 2015 I would always leave cache off while you are working on the site. That way you always see the templaet changes you made directly 1 Link to comment Share on other sites More sharing options...
MargaritaS Posted May 15, 2015 Author Share Posted May 15, 2015 IMHO is better off, but remember to refresh your browser with CTRL + F5 or CTRL + R, in this way you empty the local cache. Thank you. Yes, I refreshed. Link to comment Share on other sites More sharing options...
MargaritaS Posted May 15, 2015 Author Share Posted May 15, 2015 I would always leave cache off while you are working on the site. That way you always see the templaet changes you made directly Perfect, thank you. Link to comment Share on other sites More sharing options...
MargaritaS Posted May 15, 2015 Author Share Posted May 15, 2015 http://www.templatemonster.com/help/prestashop-how-to-manage-header-links.html Link to comment Share on other sites More sharing options...
MargaritaS Posted May 15, 2015 Author Share Posted May 15, 2015 contact block in modules-> block of contact -> disable The line disappear with the contact form of the top. 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