By CosminG on
Is there a WYSIWYG editor showing all of the smileys grouped for me to pick from as I’m creating a new node or Blog entry? That would be very nice.
Is there a WYSIWYG editor showing all of the smileys grouped for me to pick from as I’m creating a new node or Blog entry? That would be very nice.
Comments
TinyMCE. Although replacing
TinyMCE. Although replacing or modifying the smileys is a pain in the system, ridiculous amount of hard coding required.
works at bekandloz | plays at technonaturalist
:D I now, but is the ideea
:D I now, but is the ideea to have all the possible smiles there when some one writes and to be a click away.
Well, TinyMCE's smiley
Well, TinyMCE's smiley module will do it for ya :P
I'm in the process of adding and coding in a whole bunch of smileys for a site I'm working on. If I had enough brain capacity I'd rewrite the silly javascript with a php function that would recurse it's way through the folder so that all the smileys etc would be added automatically. I'm sure there's a way to do it in javascript too.
works at bekandloz | plays at technonaturalist
Any progress done? I would
Any progress done? I would like to change the smiley set in TinyMCE, since the default emoticons are too high and they are creating spaces between lines.
Thank you
-------------------------------
www.Bossite.com
Live from Prague, Czech republic
-------------------------------
I haven't atually had time
I haven't atually had time to look at it yet, been too busy. I will share it if I figure it out and someone doesn't do it in the meantime :)
works at bekandloz | plays at technonaturalist
Maybe my Quick'n
Maybe my Quick'n dirty-rewrite of the smiley-popup might be interesting for you.
I created a file 'emotions.php' and putted it in the emotions-plugin directory of TinyMCE. The rewrite is as near as the hardcoded original as possible, because I do not know the Codebase of TinyMCE:
I changed the path to the popup in the editor_plugin.js and added the ability to scroll to the popup (remove spaces):
You can now change/add/remove easily smileys. Just put them into the existing "emotions/images" directory. I stayed with the naming convention of the original. So your smileys have to be called "smiley-emotion.(gif|jpg|png)". If you wish, you can provide an alt-text for the image, by just modifying your "emotions/lang/<$your_lang>.js" file. Use the existing object to extend with the same convention "emotion : 'emotion description',"
I hope, this helps someone.
Markus
My php is pretty crude, but
My php is pretty crude, but here is a version updated for TinyMCE 3.0:
Very useful, thanks for the base!
Just found this HotEditor - hope this help
Visit Hoteditor demo page and click Emotion icon - I saw Hoteditor displays happy face icons by category - pretty good feature. It supports Clipart and Wordart too.
http://ecardmax.com/hoteditor
Not sure how to get it works with Drupal, if you can integrate it to Drupal then please send me a instruction. Thanks
Hope this help