Page 1 of 1
Module comment- image instead of text
Posted: Fri Apr 07, 2006 1:00 am
by sacrelolo
Hello,
I think it would be interesting to get an image instead of a text "Add a comment" in the module "Comment".
Laurent

Re: Module comment- image instead of text
Posted: Fri Apr 07, 2006 4:20 am
by cyberman
Hmm, have you tried this?
Go to modules/comments/lang/fr_FR.php and open that file, find line
Code: Select all
$lang['addacomment'] = 'Ajouter un commentaire';
Edit to
Code: Select all
$lang['addacomment'] = '<img src="images/commentaire.jpg" alt="Ajouter un commentaire" title="Ajouter un commentaire" width="70" height="31" />';
PS: Your site
http://www.horizons-leman.com is not really xhtml valid - 22 warnings only on first pageĀ

.
Re: Module comment- image instead of text
Posted: Fri Apr 07, 2006 7:21 am
by sacrelolo
Thanks for your answer,
No , it does not work. I'll just come back to it a bit later;
As you saw, I have quite a few problems with xhtml compliancy & rss. The newspaper returns me a lot of tab; They like and love tab, tabs ...
I'll check again because I don't think xhtml purists will appreciate that.
Re: Module comment- image instead of text
Posted: Fri Apr 07, 2006 8:53 am
by cyberman
Found the solution - for frontend the module reads the wrong path (I've set the lang parameter).
You must rename your_lang.php (edited version) to en_US.php - it works for me with 0.12.1 and Comments 1.3.
PS: The module is not completely localized - the headline must edited in module, line 193.