hqamar Posted September 8, 2013 Share Posted September 8, 2013 Hello all, I am trying to remove some lines displayed under "Information" column in footer section (see attached image). I dont find these lines in CMS bloc module. Link to comment Share on other sites More sharing options...
Paulito Posted September 8, 2013 Share Posted September 8, 2013 Good morning To remove the links you need to go to: public_html/yourtheme/default/modules/blockcms/blockcms.tpl And around Line 50 {* Comment Out *} <!-- 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')|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='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')|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} You can comment out any or all, please remember you mat need to ( Force Compile -ON, Cache - OFF ) Hope this helps Paul Link to comment Share on other sites More sharing options...
hqamar Posted September 8, 2013 Author Share Posted September 8, 2013 I found blackcms.tpl file in : /www/themes/default/modules/blockcms/blockcms.tpl Is that the right one? I am running Presta 1.5.5.0 Link to comment Share on other sites More sharing options...
vekia Posted September 8, 2013 Share Posted September 8, 2013 yes this is correct file. if module file exist in tour theme dir - you should definitely edit it Link to comment Share on other sites More sharing options...
hqamar Posted September 8, 2013 Author Share Posted September 8, 2013 Thank you Paulito & Vekia. I modified it and got the desired results. 1 more question: Is it possible to hide category column in footer only ? I tried to de active the category module but it also remove it remove main page :/ Link to comment Share on other sites More sharing options...
vekia Posted September 8, 2013 Share Posted September 8, 2013 go to modules > positions search for "displayFooter" modules list you will have block categories module there. just remove it from this hook. will work as you expect Link to comment Share on other sites More sharing options...
Recommended Posts