Popcolor Posted March 2, 2013 Share Posted March 2, 2013 Bonjour,voilà je voudrais ajouter du texte à la fin de mes pages catégories produits mais je ne sais pas comment faire .. Pouvez vous m'aider .. Voici ce que je voudrais faire sur mon site (voir pièce jointe) Merci Link to comment Share on other sites More sharing options...
franckm1000 Posted March 2, 2013 Share Posted March 2, 2013 De façon simple (c'est pas le mieux car c'est rentré directement dans le code alors qu'il vaudrait mieux passer par la bDD) tu peux ajouter une condition du type dans category.tpl: {if $category->id==5} //Mon texte {elseif $category->id==6} //mon texte ...//ensuite tous les elseif suivant les catégories où tu veux mettre du texte {/if} Link to comment Share on other sites More sharing options...
Popcolor Posted March 2, 2013 Author Share Posted March 2, 2013 Merci et en passant par la BDD? Link to comment Share on other sites More sharing options...
franckm1000 Posted March 2, 2013 Share Posted March 2, 2013 Créer un module qui te permet d'écrire les textes de ton choix que tu vas assigner à la catégorie de ton choix et que tu vas greffer dans les pages category Link to comment Share on other sites More sharing options...
Popcolor Posted March 3, 2013 Author Share Posted March 3, 2013 ok merci pour ces renseignements je vais voir ça 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