richo Posted February 13, 2013 Share Posted February 13, 2013 (edited) Bonjour, j'aimerai creer le lien de l'article dans la fiche article afin de rendre le titre de l'article cliquable. dans product.tpl, j'ai essayé ca <a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product->name|escape:'htmlall':'UTF-8'}">{$product->name|escape:'htmlall':'UTF-8'}</a> mais ca ne marche oas, je pense que {$product.link|escape:'htmlall':'UTF-8'} ne dois pas etre reconnu. Savez vous quel variable je dois mettre exactement pour recuperer l'url de mon article ? Merci Edited February 15, 2013 by richo (see edit history) Link to comment Share on other sites More sharing options...
DevNet Posted February 13, 2013 Share Posted February 13, 2013 Bonsoir, Essayez ceci : <a href="{$link->getProductLink($product)}" title="{$product->name|escape:'htmlall':'UTF-8'}">{$product->name|escape:'htmlall':'UTF-8'}</a> A+ Link to comment Share on other sites More sharing options...
richo Posted February 15, 2013 Author Share Posted February 15, 2013 Parfait !! Merciiii 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