deb-dou Posted January 30, 2014 Share Posted January 30, 2014 (edited) Bonjour, J'ai un niveau débutante, j'utilise prestashop 1.5.3. Et j'ai un petit souci d'accents html avec le mail reçu grâce au module Prestashop "Send to a friend". Le mail sur ma boîte affiche des �, ou tout simplement la version html des accents, à la place de lettres avec accents. Et avant de vous demander votre aide, j'ai cherché sur le forum "Configuration et utilisation de PrestaShop" avec le mot clé "module send to a friend". Et je n'ai trouvé aucun sujet parlant précisément de mon problème sur la page des résultats (voir http://www.prestashop.com/forums/index.php?app=core&module=search&do=search&fromMainBar=1). Voilà donc l'historique de ce que j'ai fait : 1. je me suis connectée à mon FTP 2. je suis rentrée dans le répertoire "sendtoafriend" 3. je suis ensuite passée par les répertoires "mails" et "fr" 4. j'ai alors édité le fichier "send-to-a-friend.html" avec le code html suivant : <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> <html> <table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px; margin-left: auto; margin-right: auto;"> <tbody> <tr> <td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td> </tr> <tr> <td> </td> </tr> <tr> <td align="left"><span style="color: #333333; font-size: 10pt; font-family: arial,helvetica,sans-serif;">{name},</span></td> </tr> <tr> <td> </td> </tr> <tr> <td style="text-align: justify;"> <p><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: 10pt; color: #333333;">{customer} se réjouit de partager avec vous l'un de nos produits que voici:</span></span></p> <p style="text-align: center;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: 10pt; color: #333333;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: 10pt; color: #333333;"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: 10pt; color: #333333;"><a href="{product_link}" target="_blank">{product}</a></span></span>.</span></span> </span><span style="color: #000000;"><br /></span></span></p> </td> </tr> <tr> <td style="text-align: justify;"> <p><span style="font-size: 10pt; color: #333333; font-family: arial,helvetica,sans-serif;">Le service client est à votre eacute;coute : </span></p> <ul> <li><span style="font-size: 10pt; color: #333333; font-family: arial,helvetica,sans-serif;">au<span style="color: #000000;"><strong> </strong><span style="font-size: 10pt;"><strong><span style="color: #333333;">+33820 000 000</span></strong></span> <span style="font-size: 8pt;"><span style="color: #000000; font-size: 7pt;"><span style="text-decoration: none; color: #374953;">(1)</span></span>, </span></span></span></li> <li><span style="font-size: 10pt; color: #333333; font-family: arial,helvetica,sans-serif;"><span style="color: #000000;"><span style="font-size: 8pt;"><span style="font-size: 10pt;"><span style="color: #333333;">lundi</span> <span style="color: #333333;">à vendredi </span></span></span><span style="color: #000000; font-size: 7pt;"><span style="text-decoration: none; color: #374953;">(2)</span></span><span style="color: #333333;">, </span></span></span></li> <li><span style="font-size: 10pt; color: #333333; font-family: arial,helvetica,sans-serif;"><span style="color: #000000;"><span style="color: #333333;"><span style="font-size: 10pt;">de 13H à 18H</span>.</span></span><br /></span></li> </ul> </td> </tr> <tr> <td style="text-align: justify;"> <p><span style="font-size: 10pt; color: #333333; font-family: arial,helvetica,sans-serif;">Et pensez à : </span></p> <ul> <li><span style="font-size: 10pt; color: #333333; font-family: arial,helvetica,sans-serif;">vous inscrire à la <strong>Newsletter</strong><span style="color: #000000;"><span style="font-size: 8pt;">, </span></span></span></li> <li><span style="font-size: 10pt; color: #333333; font-family: arial,helvetica,sans-serif;"><span style="color: #000000;"><span style="font-size: 8pt;"><span style="font-size: 10pt;"><span style="color: #333333;">visiter <strong>notre blog</strong>,</span></span></span></span></span></li> </ul> </td> </tr> <tr> <td align="left"> </td> </tr> <tr> <td align="left"><span style="font-size: 10pt; color: #333333; font-family: arial,helvetica,sans-serif;">A bientôt!</span></td> </tr> <tr> <td align="left"> </td> </tr> <tr> <td> <p><span style="font-size: 10pt; color: #333333; font-family: arial,helvetica,sans-serif;">Votre service client<br /></span></p> </td> </tr> <tr> <td> </td> </tr> <tr> <td> <p><span style="color: #000000; font-size: 7pt; font-family: arial,helvetica,sans-serif;"><span style="text-decoration: none; color: #374953;">(1) 0.12&euro /min plus surcoût éventuel selon l'opérateur<br /></span></span></p> <span style="color: #000000; font-size: 7pt; font-family: arial,helvetica,sans-serif;"><span style="text-decoration: none; color: #374953;">(2) sauf congés et jours fériés</span></span></td> </tr> <tr> <td> </td> </tr> <tr> <td style="font-size: 10px; border-top: 1px solid #d9dade;" align="center"><span style="color: #000000; font-family: arial,helvetica,sans-serif;"><span style="font-size: 7pt;"><span style="text-decoration: none; color: #374953;">Pour répondre à ce message, accédez à votre espace client ou à la page "Contact".<br /></span></span></span></td> </tr> </tbody> </table> </html> Vu mon niveau, j'ai certainement dû faire quelque chose de travers. Merci d'avance de m'aider avec des réponses claires et didactiques . Deb' Edited January 30, 2014 by deb-dou (see edit history) Link to comment Share on other sites More sharing options...
deb-dou Posted January 30, 2014 Author Share Posted January 30, 2014 Re, Y a t-il une âme charitable pour m'aider à trouver une solution? Merci d'avance . Deb' Link to comment Share on other sites More sharing options...
deb-dou Posted January 30, 2014 Author Share Posted January 30, 2014 Re, En attendant l'intervention d'un(e) expert(e), je fais des recherches sur le web. Merci d'avance . Deb' Link to comment Share on other sites More sharing options...
deb-dou Posted January 30, 2014 Author Share Posted January 30, 2014 (edited) Re, Je viens de trouver la source du problème, après 5 heures de recherche (parfois c'est dur d'être débutante ). En fait je n'aurais pas dû me servir du codage html des caractère spéciaux français, trouvé sur cette page http://www.designvegetal.com/gadrat/cours/informatique/html/accents.html. Le codage adéquat était tout simplement celui des Codes UTF8 des caractères spéciaux français trouvé sur cette page http://www.e-bancel.com/codes_utf8_caracteres_accentues.php. Voilà. Et j'espère que ça aidera d'autres débutants comme moi. A+ Deb' Edited January 30, 2014 by deb-dou (see edit history) Link to comment Share on other sites More sharing options...
deb-dou Posted January 30, 2014 Author Share Posted January 30, 2014 (edited) Re, Mon premier code ne fonctionnait pas non plus, puisque juste après la balise <html> et avant <table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px; margin-left: auto; margin-right: auto;">, j'avais oublié d'ajouter cette partie du code : <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Message from {shop_name}</title></head> J'espère que ça aidera les débutants comme moi. Edited January 30, 2014 by deb-dou (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