Module comment- image instead of text

Talk about new features for CMSMS and modules.
Post Reply
sacrelolo

Module comment- image instead of text

Post 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
;)
cyberman

Re: Module comment- image instead of text

Post 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  ;).
Last edited by cyberman on Fri Apr 07, 2006 4:26 am, edited 1 time in total.
sacrelolo

Re: Module comment- image instead of text

Post 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.
cyberman

Re: Module comment- image instead of text

Post 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.
Post Reply

Return to “Feature ideas”