Jump to content

remove some links in the footer area under information


Recommended Posts

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.

  • Like 1
Link to comment
Share on other sites

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)

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...