phil3001 Posted October 1, 2010 Share Posted October 1, 2010 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 blocksje 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now