SmartiesKiller Posted January 11, 2010 Share Posted January 11, 2010 Hello j'ai adapter ce petit tpl pour afficher 4 promotions dans le blockspecialen premier backup du fichier modules/blockspecials/blockspecials.tpl au cas ou ca ne marcherait pas chez vous.Hello i've have made a little modification for the blockspecial module.It could now show 4 promotionsFirst backup your modules/blockspecials/blockspecials.tpl file,in case off. <!-- MODULE block blockspecials --> {l s='' mod='blockspecials'} {if $specials|@count > 0} {$specials.0.name|escape:htmlall:'UTF-8'|truncate:20} {$specials.0.description_short|strip_tags:htmlall:'UTF-8'|truncate:80} {l s='Voir' mod='blockspecials'} {if $specials|@count > 1} {$specials.1.name|escape:htmlall:'UTF-8'|truncate:20} {$specials.1.description_short|strip_tags:htmlall:'UTF-8'|truncate:80} {l s='Voir' mod='blockspecials'} {/if} {if $specials|@count > 2} {$specials.2.name|escape:htmlall:'UTF-8'|truncate:20} {$specials.2.description_short|strip_tags:htmlall:'UTF-8'|truncate:80} {l s='Voir' mod='blockspecials'} {/if} {if $specials|@count > 3} {$specials.3.name|escape:htmlall:'UTF-8'|truncate:20} {$specials.3.description_short|strip_tags:htmlall:'UTF-8'|truncate:80} {l s='Voir' mod='blockspecials'} {/if} {else} {l s='Pas de Promotions' mod='blockspecials'} {/if} <!-- /MODULE Block best sellers --> Link to comment Share on other sites More sharing options...
GAELLE Posted January 11, 2010 Share Posted January 11, 2010 Salut cool ! tu peux envoyer un ptit aperçu please? Link to comment Share on other sites More sharing options...
Dupont Communication Posted January 11, 2010 Share Posted January 11, 2010 Bonjour,Je ne sais pas si cela peut intéresser, mais j'ai développé un module permettant de faire défiler dans un bloc tous les produits en promo.Si vous êtes intéressé, dites-le moi en message privé.Bonne continuation. Link to comment Share on other sites More sharing options...
SmartiesKiller Posted January 12, 2010 Author Share Posted January 12, 2010 !http://img.rock-hosting.com/img/screen76j.jpg!4 produits a la place d'1 seul par defaut,apres c'est a vous d'adapter votre css a votre convenance. Link to comment Share on other sites More sharing options...
SmartiesKiller Posted January 12, 2010 Author Share Posted January 12, 2010 checamanje pense que ton module devrait en interresser plus d'un. Link to comment Share on other sites More sharing options...
Dupont Communication Posted January 12, 2010 Share Posted January 12, 2010 ok...Ben le module est testable sur mon site de démonstration, indiqué en signature ;-)Et s'appelle Galerie de promotions ! Link to comment Share on other sites More sharing options...
zannpoul Posted January 12, 2010 Share Posted January 12, 2010 hmm... Good!! testable sur mon site de démonstration..!! Link to comment Share on other sites More sharing options...
kimzey Posted August 14, 2010 Share Posted August 14, 2010 Je me prends ma pelle et je déterre...Tout d'abord merci pour ton code cependant je viens de le tester et rien à faire il ne semble pas trouver les promotions, il me marque : pas de promotion en ce moment alors qu'il y en a pourtant.Une idée pour résoudre ce soucis ?Merci et bonne journée ! 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