Eric-b Posted May 15, 2020 Share Posted May 15, 2020 Bonjour, je voudrai afficher (TPL) le nom d'une catégorie en forçant son id. quelques chose comme {$category->name} où je forcerai l'id à 3 par exemple. Sur un Presta 1.7.6 Merci. Link to comment Share on other sites More sharing options...
Eric-b Posted May 15, 2020 Author Share Posted May 15, 2020 Merci, je ne veux pas faire une condition, je veux juste forcer l'id à 3 et afficher le nom de la catégorie. Link to comment Share on other sites More sharing options...
Eric-b Posted May 15, 2020 Author Share Posted May 15, 2020 Je voudrai sur ce lien par exemple afficher le nom de la catégorie (TITRE), mais où la catégories est forcée c'est à dire écrite en dur : <p><a href="{url entity='category' id=3 id_lang=1}">TITRE</a></p> Merci. Link to comment Share on other sites More sharing options...
Eric-b Posted May 15, 2020 Author Share Posted May 15, 2020 Ok, merci. je pensais y arriver sans passer par le controller. merci Link to comment Share on other sites More sharing options...
Eric-b Posted May 15, 2020 Author Share Posted May 15, 2020 Merci, si je vais faire comme çà , au départ je voualis faire "simple" mais comme toujours finalement simple n'est pas là où l'on croit 😉 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