Jump to content

How to edit default links in Information Block in Footer


Recommended Posts

I can see how to turn on and off the footer CMS links in the Information Block module, but by default you also get 'Specials', 'New Products', 'Top Sellers' and 'Our Stores' showing down there (not in the Information Block Module) which makes the Information links in the footer too long. How do I delete these out of the footer only?

Link to comment
Share on other sites

  • 2 weeks later...

I'm curious about this as well. I've made the appropriate block CMS changes so that my 'About us', 'Terms and conditions' links appear there, but I cannot find a way to remove the links to Specials, New products or Top sellers.

 

I'm also curious as to how to rearrange the Information, Contact Us and My Account columns in the footer.

Link to comment
Share on other sites

  • 2 months later...

Hi,

 

I have seen that some links are hardcoded in /modules/blockcms/blockcms.tpl

 

Sorry for my English.

 

Regards,

Rubén.

 

I removed the following lines and saved the file and it didn't do anything. 'Our Stores' remained in the footer under Information:

 

Line 40

{if $cms_title.display_store}<li><a href="{$link->getPageLink('stores')}" title="{l s='Our stores' mod='blockcms'}">{l s='Our stores' mod='blockcms'}</a></li>{/if}

Line 53

{if $display_stores_footer}<li class="item"><a href="{$link->getPageLink('stores')}" title="{l s='Our stores' mod='blockcms'}">{l s='Our stores' mod='blockcms'}</a></li>{/if}

There must be a way to remove Our Stores from the Information list of links

Link to comment
Share on other sites

 

I tried removing the Specials and Top Sellers by commenting out the public_html/modules/blockcms/blockcms.tpl and it didn't work.

 

Hi brady, also look at #2 above from Telesight Preferences > Store Contacts > Display in the footer > set to No cheers, Vince

 

Thanks. That did work.

Link to comment
Share on other sites

Hi Brady,

 

This is how I removed - Specials, New Products & Top Sellers - from the footer.

 

/modules/blockcms/blockcms.tpl

 

<!-- & -->

 

<!-- 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')}" 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')}" 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')}" 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')}" 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)}" 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}" 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')}" 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 target="_blank" href="http://www.prestashop.com">PrestaShop</a>™</li>{/if}

</ul>

{$footer_text}

</div>

<!-- /MODULE Block footer -->

 

Hope this helps.

 

Cheers,

 

Vince

Edited by VGG (see edit history)
Link to comment
Share on other sites

  • 2 months later...

8.4.2013 [sOLVED]Removing Footer Links In v1.5.4

 

make changes /httpdocs/themes/default/modules/blockcms in blockcms.tpl

 

links you want to hide make those lines as a comment <!-- -->

 

<!--{if !$PS_CATALOG_MODE}<li class="first_item"><a href="{$link->getPageLink('prices-drop')}" 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')}" 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')}" title="{l s='Top sellers' mod='blockcms'}">{l s='Top sellers' mod='blockcms'}</a></li>{/if} -->

 

 

upload the file refesh your FO page and enjoy!

Edited by iansari13 (see edit history)
Link to comment
Share on other sites

[sOLVED]Removing Footer Links In v1.5.4

 

make changes /httpdocs/themes/default/modules/blockcms in blockcms.tpl

 

links you want to hide make those lines as a comment <!-- -->

 

<!--{if !$PS_CATALOG_MODE}<li class="first_item"><a href="{$link->getPageLink('prices-drop')}" 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')}" 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')}" title="{l s='Top sellers' mod='blockcms'}">{l s='Top sellers' mod='blockcms'}</a></li>{/if} -->

 

 

upload the file refesh your FO page and enjoy!

  • Like 1
Link to comment
Share on other sites

  • 4 months later...
  • 3 months later...

Hi!

 

I´ve tried both iansari13´s suggestion and by making the changes in blockcms.tpl in theme directory, and I´ve tried to make VGG´s suggestion in the prestashopmodule directory on  the blockcms.tpl file. It doesn´t work for me, the links are still there,

 

What should I do, anyone have any suggestions?

 

Edit: just to prove my point:

 

I made this edit in themes/modules/blockcms/blockcms.tpl

http://s29.postimg.org/xlsg4yu9z/module_block_footer.jpg

 

and the links is still there see picture below: (i emptied cache etc)

http://s18.postimg.org/e1wb3g2u1/brands_still_there.jpg

 

www.hamburgerpress.se

 

Please help =)

Edited by Emilll (see edit history)
Link to comment
Share on other sites

  • 9 months later...
  • 3 months later...
×
×
  • Create New...