Jump to content

Footer edit


Recommended Posts

Hi sirvova,

 

Please go to Localization>Translation>Installed Module Translation (click on flag)

 

then search for "blockreinsurance" . There you will find the module that you are looking for, (if it's the same one that I think you mean)

 

You can translate the text there and save to reflect the changes.

 

I hope this helps, thanks!

Link to comment
Share on other sites

Thank you guys, however when I try to configure cms module for footer and choose pages to display it automatically adds links to blocks like <bestselling products> etc. How is it possible to remove these links and leave only pages that I need?

Link to comment
Share on other sites

could you please underline what should I remove from here? I need to leave just cms pages. Thank you :

 

{*

* 2007-2013 PrestaShop

*

* NOTICE OF LICENSE

*

* This source file is subject to the Academic Free License (AFL 3.0)

* that is bundled with this package in the file LICENSE.txt.

* It is also available through the world-wide-web at this URL:

* http://opensource.or...ses/afl-3.0.php

* If you did not receive a copy of the license and are unable to

* obtain it through the world-wide-web, please send an email

* to [email protected] so we can send you a copy immediately.

*

* DISCLAIMER

*

* Do not edit or add to this file if you wish to upgrade PrestaShop to newer

* versions in the future. If you wish to customize PrestaShop for your

* needs please refer to http://www.prestashop.com for more information.

*

* @author PrestaShop SA <[email protected]>

* @copyright 2007-2013 PrestaShop SA

* @license http://opensource.or...ses/afl-3.0.php Academic Free License (AFL 3.0)

* International Registered Trademark & Property of PrestaShop SA

*}<p>{if $block == 1}

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

<!-- Block CMS module -->

{foreach from=$cms_titles key=cms_key item=cms_title}

<div id="informations_block_left_{$cms_key}" class="block informations_block_left">

<p class="title_block"><a href="{$cms_title.category_link}">{if !empty($cms_title.name)}{$cms_title.name}{else}{$cms_title.category_name}{/if}</a></p>

<ul class="block_content">

{foreach from=$cms_title.categories item=cms_page}

{if isset($cms_page.link)}<li class="bullet"><b style="margin-left:2em;">

<a href="{$cms_page.link}" title="{$cms_page.name|escape:html:'UTF-8'}">{$cms_page.name|escape:html:'UTF-8'}</a>

</b></li>{/if}

{/foreach}

{foreach from=$cms_title.cms item=cms_page}

{if isset($cms_page.link)}<li><a href="{$cms_page.link}" title="{$cms_page.meta_title|escape:html:'UTF-8'}">{$cms_page.meta_title|escape:html:'UTF-8'}</a></li>{/if}

{/foreach}

{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}

</ul>

</div>

{/foreach}

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

<!-- /Block CMS module -->

{else}

<!-- MODULE Block footer -->

<div class="block_various_links" id="block_various_links_footer">

<p class="title_block">{l s='Information' mod='blockcms'}</p>

<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}

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

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

</ul>

{$footer_text}

</div>

<!-- /MODULE Block footer -->

{/if}

 

please advise

Link to comment
Share on other sites

Good morning,

 

I have just done copy/paste from your post #11

 

The best way to achieve what you require is to <!--Comment Out--> the code that you do not require

 

<!-- MODULE Block footer -->

<div class="block_various_links" id="block_various_links_footer">

<p class="title_block">{l s='Information' mod='blockcms'}</p>

<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}-->

(this will hide price-drop)

 

<!--<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>-->

(this will hide new products)

 

<!--{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}-->

(this will hide best sellers)

 

{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}

 

You can then carry on with any others you do not require.

 

Also I would check to see if you have two cms modules and that you are altering the correct one

 

Hope this helps

 

Paul

Link to comment
Share on other sites

  • 2 weeks later...

footer section is a "hook" named displayFooter. Hook is an "place" where attached modules appear.

you can remove all unwanted modules from this hook (displayFooter).

 

go to the modules > positions

 

search for "displayFooter" modules list and remove all unwanted modules from this position.

Link to comment
Share on other sites

×
×
  • Create New...