newbive Posted January 31, 2014 Share Posted January 31, 2014 hey guys how do i disable or remove these links (specials, new products, top sellers, our stores) under "information" on the footer area? anybody knows the exact coding? i'm using version 1.5.3.1. thank you in advance Link to comment Share on other sites More sharing options...
vekia Posted January 31, 2014 Share Posted January 31, 2014 1) preferences > store contacts - there is an option to disable "our stores" link. 2) all other links you can disable in module file: blockcms.tpl (modules/blockcms/blockcms.tpl or in your theme dir) there is a code: <!-- MODULE Block footer --> <div class="block_various_links" id="block_various_links_footer"> <h4 class="title_block">{l s='Information' mod='blockcms'}</h4> <ul> {if !$PS_CATALOG_MODE}<li class="first_item"><a href="{$link->getPageLink('prices-drop')|escape:'html'}" 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'}" 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'}" title="{l s='Best sellers' mod='blockcms'}">{l s='Best sellers' mod='blockcms'}</a></li>{/if} {if $display_stores_footer}<li class="item"><a href="{$link->getPageLink('stores')|escape:'html'}" 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'}" 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'}" title="{$cmslink.meta_title|escape:'htmlall':'UTF-8'}">{$cmslink.meta_title|escape:'htmlall':'UTF-8'}</a></li> {/if} {/foreach} <li><a href="{$link->getPageLink('sitemap')|escape:'html'}" title="{l s='Sitemap' mod='blockcms'}">{l s='Sitemap' mod='blockcms'}</a></li> {if $display_poweredby}<li class="last_item">{l s='Powered by' mod='blockcms'} <a class="_blank" href="http://www.prestashop.com">PrestaShop</a>™</li>{/if} </ul> {$footer_text} </div> <!-- /MODULE Block footer --> you can remove unwanted links manually. 1 Link to comment Share on other sites More sharing options...
newbive Posted February 1, 2014 Author Share Posted February 1, 2014 (edited) i deleted these lines (attached) but it still didn't change? Edited February 1, 2014 by newbive (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted February 1, 2014 Share Posted February 1, 2014 if you delete these files and still dont see changes, please verify this: 1) it's possible, that you've got override of this file, please open theme directory then /modules/ dir make sure that blockcms module files doesn't exist there - if so - modify it there 2) your store displays cached version of your shop. go to adv. paramters > performance tab in your back office and enable "force compile" feature (temporarily!) and clear cache in your store (you will see there button to clear cache in shop) 1 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