How i can add new smiles to FCKeditor?

Comments

charmer’s picture

Unless there are some predefined set of smilies out there, you need to prepare your own in a directory and then edit the file fckconfig.js. Search for this:

FCKConfig.SmileyPath    = FCKConfig.BasePath + 'images/smiley/msn/' ;
FCKConfig.SmileyImages  = ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif', 'angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif',         'thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ;

and just replace the name of the directory (msn here) and make sure the names in this config file and names of actual image files correspond. Then copy your smilies to images/smiley/your_smilie_set and that should be all.