Hi!
I just installed the new CKeditor on my drupal project. So there is this Smiley-plugin, with the folder where the .gif are placed. Now, my "client" want MORE smileys..... (yes, female....
So i took some other .gif images and put that in the image folder of the smiley-plugin, but they are not listed in the popup, when i click the "add smiley" button.
So whats the trick? Anyone can help me out here? =)
Cream
Sun, 12/13/2009 - 17:33
#1
Re: Add more smileys to CKeditor?
CKEDITOR.config.smiley_descriptions= [];
Fx.
CKEDITOR.config.smiley_images= ['smile.gif', 'mad.gif'];
CKEDITOR.config.smiley_descriptions= [':-)', ':-('];
My customer wanted the Messenger smileys, so what I did was
add a new directory under
and uploaded the new smileys here
Then I added this
into my config.js
Re: Add more smileys to CKeditor?
In the config.js i have to add the filenames?
I'm a bit irritaded, because that was the way i tried it.
i looked in this file and found the line (config.smiley_images....), where all imamgefiles are added. I tried to add 2 new gif-files and added the filenames in that line. But they did not show up in the selection-menu for the smileys. I am quite sure that i did it right (no misspelling, etc)
When you made a new directory with new smileys, did you add a second "config.smiley_path" line in the config-file? or did you swap the smileys?
Maybe i have to make a new directory and new lines?
I will try a new dir with new lines. maybe i messed something up when i mixed the new to the old smileys.
Re: Add more smileys to CKeditor?
(as it is one of the default images)
"\ckeditor\_source\plugins\smiley\plugin.js" and "\ckeditor\ckeditor.js"
Add the new descriptions and image names to these lists, and then copy the smiley images to the location below
"\ckeditor\plugins\smiley\images\"
I followed your instructions
I followed your instructions but nothing changed .