alvagram Posted April 5, 2012 Share Posted April 5, 2012 Hello, How can I remove Prestashop logos etc from the left area of the footer ? I commented out the relevant div from the footer.tpl file of my theme but it did not work. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 5, 2012 Share Posted April 5, 2012 Hi alvagram, Which PrestaShop logos are you talking about, specifically? Could you please post your URL so that we can take a look at this for you? -Mike Link to comment Share on other sites More sharing options...
alvagram Posted April 5, 2012 Author Share Posted April 5, 2012 Thanks Mike, I am using the alternative version of the default theme. This is my website : http://www.maralepostcards.com/store Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 5, 2012 Share Posted April 5, 2012 And what version of PrestaShop are you using? -Mike Link to comment Share on other sites More sharing options...
alvagram Posted April 5, 2012 Author Share Posted April 5, 2012 1.4.7.0 Link to comment Share on other sites More sharing options...
hxd Posted April 5, 2012 Share Posted April 5, 2012 When you edit a template file in order to be able to see the changes on the frontend of your site you also have to enable the Force compile option (back office>Preferences tab>Performance sub-tab). After you enable this option and you change the template file, refresh the frontend of your store to see the result. When you're done disable the force compile. I don't know if you did that, that's why I mention it. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 5, 2012 Share Posted April 5, 2012 Hi alvagram, In your themes/prestashop_alt/footer.tpl file, locate and remove the following lines (should start at line 41): <div style="width:200px;text-align:left;float:left;margin:5px 10px 0 0"> <img src="{$img_dir}v2-logo.png" style="margin:4px 0 0 20px;height:36px" alt="PrestaShop" /><br /> <div style="margin:8px 12px">{l s='Powered by'} PrestaShop™</div> <a href="http://www.prestashop.com/" style="margin:4px 12px;text-decoration:underline">www.prestashop.com</a> </div> Then, clear your browser's cache to ensure you're seeing the latest version of your site and let me know if that resolves it for you! -Mike Link to comment Share on other sites More sharing options...
alvagram Posted April 5, 2012 Author Share Posted April 5, 2012 Hi Mike, This is exactly what I did in the first place, i.e. removed (commented-out) the lines you refer to from footer.tpl, but it did not work. On the contrary, I used hxd's suggestion and the logo is gone ! Thank you both for your assistance. One more question though : Does this mean that evey time I make a change in any of the .tpl or .php files I will need to turn force compile on and off again ? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 5, 2012 Share Posted April 5, 2012 Hi Mike, This is exactly what I did in the first place, i.e. removed (commented-out) the lines you refer to from footer.tpl, but it did not work. On the contrary, I used hxd's suggestion and the logo is gone ! Thank you both for your assistance. One more question though : Does this mean that evey time I make a change in any of the .tpl or .php files I will need to turn force compile on and off again ? Any time you are making changes to your site, it is recommended to turn force compile on and caching off. The reason for this is exactly as you have demonstrated above: if you do not set your site this way, you may not always see the changes you're making because your browser can still load from a cached version of your site. These settings are always recommended for development work, but we discourage you from using them in a production environment because forcing every user to load the page from scratch instead of relying on browser caches will slow down page loads for your customers. Regardless, I'm glad you were able to resolve this, and will go ahead and mark this as solved for you. Happy selling! -Mike 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