Jump to content

Modification Footer Via Blockcms.tpl


Recommended Posts

Bonjour,

Je souhaite supprimer du pied de page les catégories

Promotions

Nouveaux produits

Marques

Fournisseurs

 

 

Comme indiqué dans un autre post j'ai modifié le fichier blockcms.tpl via mon FTP

J'ai supprimé les lignes concernées mais les catégories apparaissent toujours, bien quelles ne soient plus dans ce fichier.

 

Avez vous une solution ? Merci

 

Voilà à quoi ressemble le fichier blockcms.tpl après modification :

 

{** 2007-2012 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.org/licenses/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-2012 PrestaShop SA*  @version  Release: $Revision: 6594 $*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free 
License (AFL 3.0)*  International Registered Trademark & Property of PrestaShop SA*}
 
{if $block == 1}
 
<!-- 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">
 
<h4><a href="{$cms_title.category_link}">{if !empty($cms_title.name)}{$cms_title.name}{else}{$cms_title.category_name}{/if}</a></h4>
 
<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}
 
 
</ul>
 
</div>
{/foreach}
 
<!-- /Block CMS module -->
{else}
 
<!-- MODULE Block footer -->
 
<ul class="block_various_links" id="block_various_links_footer">
 
{if !$PS_CATALOG_MODE}
<li class="first_item"><a href="{$link->getPageLink('prices-drop.php')}" 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.php')}" title="{l s='New products' mod='blockcms'}">{l s='New products' mod='blockcms'}</a></li>
 
 
{/if}
 
 
{foreach from=$cmslinks item=cmslink}
{if $cmslink.meta_title != ''}
<li class="last_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}
 
</ul>
 
{$footer_text}
 
<!-- /MODULE Block footer -->
{/if}
Edited by bernicot (see edit history)
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...