atmoner Posted June 13, 2012 Share Posted June 13, 2012 (edited) Bonjour... Je crée un nouveau module pour presta, j'ai juste un petit souci: J'aimerais ajouter un lien dans la configuration de mon module, mais impossible de faire apparaître le lien correctement avec un <a href=""> ! Voici le lien qui ressort de la balise href: Et sincèrement, j'ai un peu la flaime de remonter dans les class pour trouver la solution Si quelqu'un sais comment ajouter un lien dans la configuration d'un module, je suis preneur Edited June 13, 2012 by atmoner (see edit history) Link to comment Share on other sites More sharing options...
coeos.pro Posted June 13, 2012 Share Posted June 13, 2012 difficile de répondre quand on ne sais pas ou pointe ce lien Link to comment Share on other sites More sharing options...
atmoner Posted June 13, 2012 Author Share Posted June 13, 2012 (edited) voici le code ajouté pour le module: $this->l('Récupérer votre ID sur le site Infolinks <br />Création de compte sur infolinks.com -> <a href="http://www.infolinks.com/">http://www.infolinks.com/</a>') Voici le résultat du lien: http://localhost/admin123/http://www.infolinks.com/ Edited June 13, 2012 by atmoner (see edit history) Link to comment Share on other sites More sharing options...
coeos.pro Posted June 13, 2012 Share Posted June 13, 2012 (edited) Tu devrais commencer par mettre : $this->l('Récupérer votre ID sur le site Infolinks ').'<br/>'.$this->l('Création de compte sur').' infolinks.com -> <a href="http://www.infolinks.com/">http://www.infolinks.com/</a>' ; Edited June 13, 2012 by coeos.pro (see edit history) 1 Link to comment Share on other sites More sharing options...
atmoner Posted June 13, 2012 Author Share Posted June 13, 2012 (edited) héhé... ca m'apprendra à vouloir allez trop vite en gros, la function l() ne prend pas en compte les liens..... c'est bon à savoire ! Merci pour ton aide coeos Edited June 13, 2012 by atmoner (see edit history) 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