alexandrieb Posted June 15, 2017 Share Posted June 15, 2017 (edited) Bonjour, j'aimerais quelques infos pour la finition de mon module. J'ai un renderList et j'aimerais afficher une image... via un nom composé de l'id et de l'id_shop est ce possible? Merci Edited June 21, 2017 by alexandrieb (see edit history) Link to comment Share on other sites More sharing options...
alexandrieb Posted June 16, 2017 Author Share Posted June 16, 2017 Quelqu'un a deja pu mettre une image dans le renderList? Merci Link to comment Share on other sites More sharing options...
Hotfirenet Posted June 21, 2017 Share Posted June 21, 2017 Bonne question je suis preneur aussi, pour le moment j'ai juste réussi a faire ceci: il y a bien une histoire d'image dans la classe HelperList ['image'] => 's', // If set, an image will be displayed in this field located in the '/img' subfolder defined as value here (optional). ['image_id'] => 3, // If 'image' is set and if 'image_id' is set, it will be used as the image filename, http://doc.prestashop.com/display/PS16/Using+the+HelperList+class Link to comment Share on other sites More sharing options...
alexandrieb Posted June 21, 2017 Author Share Posted June 21, 2017 J'ai trouvé comment faire. 'image' => 'chemin du dossier contenant les images', 'image_id' => 'alias sql' => l'alias du champ de ma requete qui contient les noms de chaque fichier 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