bon, la boucle du template est impec : j'ai fait la mise à jour de thelia et le problème a disparu désolé pour le bruit..
par contre : pourquoi imbriquer une boucle RUBRIQUE (qui fait donc des requêtes et traitements supplémentaires) ?
- dans rubrique.html (rubdetchem) :
<div id="chemin">
Vous êtes ici :<a href="index.php">Accueil boutique</a> / <THELIA_chemrub type="CHEMIN" rubrique="#RUBRIQUE_ID"><THELIA_rubdetchem type="RUBRIQUE" id="#ID"><a href="#URL">#TITRE</a> /</THELIA_rubdetchem></THELIA_chemrub>#RUBRIQUE_NOM
</div>
- dans produit.html (rubdetchem) :
<div id="chemin">
Vous êtes ici :
<a href="index.php">Accueil boutique</a> /
<THELIA_chemrub type="CHEMIN" rubrique="#RUBRIQUE_ID">
<THELIA_rubdetchem type="RUBRIQUE" id="#ID">
<a href="#URL">#TITRE</a> /
</THELIA_rubdetchem>
</THELIA_chemrub>
<THELIA_rubcour type="RUBRIQUE" id="#RUBRIQUE_ID">
<a href="#URL">#TITRE</a> /
</THELIA_rubcour>
#PRODUIT_NOM
</div>
d'après différents tests, on peut se passer de rubdetchem (la boucle, pas le contenu)...
Last edited by komprennenio (26-06-2010 06:19:44)