Jump to content

plusieurs blocs catégorie de graphisme different


Recommended Posts

Bonsoir,

j'ai recopié ce code de novice23 afin d'avoir la possibilité d'avoir plusieurs bloc categories.
Cela marche parfaitement bien mais mois j'aimerai pouvoir associer des couleurs ou des images différentes selon le module.

en modifiant les css je modifie tous les blocks
je suis bloqué.

Merci de votre aide


removed][removed]
<!-- Block categories module -->

 {foreach from=$blockCategTree.children item=cat name=blockCategTree}

{$cat.name|escape:htmlall:'UTF-8'} 


       {foreach from=$cat.children item=child name=blockSubCategTree}
       {if $smarty.foreach.blockSubCategTree.last}
       {include file=$branche_tpl_path node=$child last='true'}
       {else}
       {include file=$branche_tpl_path node=$child}
       {/if}
       {/foreach}



 {/foreach} 
[removed]
// <![CDATA[
   // we hide the tree only if JavaScript is activated
   $('div#categories_block_left ul.dhtml').hide();
// ]]>
[removed]
<!-- /Block categories module -->

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