sirvova Posted August 12, 2013 Share Posted August 12, 2013 Hello, Could anyone help me to edit default footer? I'd like to remove categories block from there and add information about company e.g. delivery, terms, payment, about us etc. I use default theme ps_1.5.4.1 Thank you Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 12, 2013 Share Posted August 12, 2013 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 More sharing options...
vekia Posted August 13, 2013 Share Posted August 13, 2013 customer reassurance block has got own configuration page where you can define the translations and other things: Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 13, 2013 Share Posted August 13, 2013 >>>>>I'd like to remove categories block from there and add information about company e.g. delivery, terms, payment, about us etc. Go to backend modules and block cms configure click pen symbol on there and edit things. u can also go to and edit permanent links footer which is on block permanent links. Link to comment Share on other sites More sharing options...
sirvova Posted August 13, 2013 Author Share Posted August 13, 2013 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 More sharing options...
Jiten rash (away) Posted August 13, 2013 Share Posted August 13, 2013 u can also find some links on block permanent links on permanent linksfooter.tpl ok get this module Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 13, 2013 Share Posted August 13, 2013 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 etc. How is it possible to remove these links and leave only pages that I need? You would need to remove those links in the /yourtheme/modules/blockcms/blockcms.tpl file. Link to comment Share on other sites More sharing options...
sirvova Posted August 14, 2013 Author Share Posted August 14, 2013 thank, will try Link to comment Share on other sites More sharing options...
sirvova Posted August 17, 2013 Author Share Posted August 17, 2013 (edited) 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 August 17, 2013 by sirvova (see edit history) Link to comment Share on other sites More sharing options...
sirvova Posted August 17, 2013 Author Share Posted August 17, 2013 (edited) <!-- 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 August 17, 2013 by sirvova (see edit history) Link to comment Share on other sites More sharing options...
sirvova Posted August 17, 2013 Author Share Posted August 17, 2013 (edited) <!-- /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 August 17, 2013 by sirvova (see edit history) Link to comment Share on other sites More sharing options...
sirvova Posted August 17, 2013 Author Share Posted August 17, 2013 <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 More sharing options...
sirvova Posted August 17, 2013 Author Share Posted August 17, 2013 /yourtheme/modules/blockcms/blockcms.tpl this file doesn't do anything. I erased everything from there and reuploaded it but nothing happened to the footer. Please advise Link to comment Share on other sites More sharing options...
vekia Posted August 17, 2013 Share Posted August 17, 2013 make sure that you've got force compilation ON and cache OFF under adv. preferences > performance tab in your back office Link to comment Share on other sites More sharing options...
Paulito Posted August 17, 2013 Share Posted August 17, 2013 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 More sharing options...
vekia Posted August 18, 2013 Share Posted August 18, 2013 but with <!-- Comment Out ---> smarty code will be visible in the page source Link to comment Share on other sites More sharing options...
sirvova Posted August 18, 2013 Author Share Posted August 18, 2013 nothing, seems like this file (blockcms.tpl) doesn't affect footer at all Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 19, 2013 Share Posted August 19, 2013 use this module solve all issues http://www.prestashop.com/forums/topic/246086-lof-advance-footer-free-module/ Link to comment Share on other sites More sharing options...
sirvova Posted September 1, 2013 Author Share Posted September 1, 2013 with lof advance footer module default footer stays as well, how can I turn it off to use LOF module? Link to comment Share on other sites More sharing options...
vekia Posted September 1, 2013 Share Posted September 1, 2013 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 More sharing options...
Jiten rash (away) Posted September 1, 2013 Share Posted September 1, 2013 uninstall>blocksocial> on blockcms on untick unwanted links>block permanent links> footer.tpl Link to comment Share on other sites More sharing options...
Recommended Posts