torquay12 Posted March 30, 2014 Share Posted March 30, 2014 Hi, can anyone tell me how to stop "Specials", "Best sellers" and "New Products" from showing up in the footer. I have unchecked them in the CMS block and emptied the cache on PS and my browser. When I check "Site Map", "Contact Us" and "Powered by Prestashop" these come and go as the box is checked or unchecked the the others "Specials" etc do not. Btw love Prestashop 1.6 very easy to work with Kind regards Link to comment Share on other sites More sharing options...
Paulito Posted March 30, 2014 Share Posted March 30, 2014 Good morning Afraid these links are hardcoded in the .tpl file Just {Comment the out} Paul Link to comment Share on other sites More sharing options...
vekia Posted March 30, 2014 Share Posted March 30, 2014 file: themes/default-bootstrap/blockcms/blockcms.tpl change this code: <!-- MODULE Block footer --> <section class="footer-block col-xs-12 col-sm-2" id="block_various_links_footer"> <h4>{l s='Information' mod='blockcms'}</h4> <ul class="toggle-footer"> {if !$PS_CATALOG_MODE} <li class="first_item"> <a href="{$link->getPageLink('prices-drop')|escape:'html':'UTF-8'}" title="{l s='Specials' mod='blockcms'}"> {l s='Specials' mod='blockcms'} </a> </li> {/if} <li class="{if $PS_CATALOG_MODE}first_{/if}item"> <a href="{$link->getPageLink('new-products')|escape:'html':'UTF-8'}" title="{l s='New products' mod='blockcms'}"> {l s='New products' mod='blockcms'} </a> </li> {if !$PS_CATALOG_MODE} <li class="item"> <a href="{$link->getPageLink('best-sales')|escape:'html':'UTF-8'}" title="{l s='Top sellers' mod='blockcms'}"> {l s='Top sellers' mod='blockcms'} </a> </li> {/if} {if $display_stores_footer} <li class="item"> <a href="{$link->getPageLink('stores')|escape:'html':'UTF-8'}" title="{l s='Our stores' mod='blockcms'}"> {l s='Our stores' mod='blockcms'} </a> </li> {/if} <li class="item"> <a href="{$link->getPageLink($contact_url, true)|escape:'html':'UTF-8'}" title="{l s='Contact us' mod='blockcms'}"> {l s='Contact us' mod='blockcms'} </a> </li> {foreach from=$cmslinks item=cmslink} {if $cmslink.meta_title != ''} <li class="item"> <a href="{$cmslink.link|addslashes|escape:'html':'UTF-8'}" title="{$cmslink.meta_title|escape:'html':'UTF-8'}"> {$cmslink.meta_title|escape:'html':'UTF-8'} </a> </li> {/if} {/foreach} <li> <a href="{$link->getPageLink('sitemap')|escape:'html':'UTF-8'}" title="{l s='Sitemap' mod='blockcms'}"> {l s='Sitemap' mod='blockcms'} </a> </li> </ul> {$footer_text} </section> {if $display_poweredby} <section class="bottom-footer col-xs-12"> <div> © 2014 {l s='[1]Ecommerce software by %s[/1]' mod='blockcms' sprintf=['PrestaShop™'] tags=['<a class="_blank" href="http://www.prestashop.com">']} </div> </section> {/if} <!-- /MODULE Block footer --> Link to comment Share on other sites More sharing options...
alabasta Posted April 3, 2014 Share Posted April 3, 2014 In latest module update CMS block v1.9, there are options to display/no many things such as bestseller, new products, sitemap, price drop etc, but if we tick the checkbox or not, they still appear at the footer. Link to comment Share on other sites More sharing options...
NinouBordeaux Posted April 3, 2014 Share Posted April 3, 2014 Hello, > vekia : I've change the code as yours (PS 1.6) and I had a white page. The restauration of the blockcms.tpl worked and now every thing is ok but I still have bestseller, new products, sitemap, price drop etc in my footer. Link to comment Share on other sites More sharing options...
Bas J. Posted April 8, 2014 Share Posted April 8, 2014 In latest module update CMS block v1.9, there are options to display/no many things such as bestseller, new products, sitemap, price drop etc, but if we tick the checkbox or not, they still appear at the footer. I am running into the same problem on 1.6: I cannot get rid of the links in the Information block in the footer, although I have unchecked the links in the CMS block module. Looks like a bug to me. Link to comment Share on other sites More sharing options...
razorloves Posted April 9, 2014 Share Posted April 9, 2014 (edited) i had same problem. even on a brand new fresh install of 1.6.0.5. this fixed it. just had to modify the blockcms.tpl file in the theme directory https://github.com/PrestaShop/PrestaShop/commit/1052a92e6097312407005392d4b9731c3389d23a Edited April 9, 2014 by razorloves (see edit history) Link to comment Share on other sites More sharing options...
alabasta Posted April 9, 2014 Share Posted April 9, 2014 Thanks razorloves That solve the problem! 1 Link to comment Share on other sites More sharing options...
vekia Posted April 10, 2014 Share Posted April 10, 2014 but removing the code manually should work, if someone still use old version, and trying to remove code, make sure that you're editing .tpl file located in theme directory (modules subdirectory) Link to comment Share on other sites More sharing options...
Recommended Posts