Hi,
I just installed the emoticonChooser plugin (via Spartacus and v.08-B1) but although the administration page Manage Plugins shows it installed, I don't actually see it in the New Entry page.
What is it supposed to look like, is it a popup or does it add itself on or near the WYSIWYG editor?
Any suggestions on what I might be doing wrong?
--
Great job with version 0.8, by the way! The editor's cut & paste finally works with Firefox.
Where is my Emoticon Chooser?
- garvinhicking
- Core Developer
- Posts: 30020
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Where is my Emoticon Chooser?
Hi!
This is a combination of two bugs: First, the plugin did not get embedded when WYSIWYG editor is active.
Second, I cannot get the WYSIWYG editor to perform the Javascript functions of the emoticon chooser. It only works if you previously toggle the WYSWYG editor to HTML source mode (via the "<>" button)
I will commit the fix to 0.8-beta2, but you will not really be able to use the chooser with WYSIWYG mode, I am sorry. I currently have no idea how this can be done.
Regards,
Garvin
This is a combination of two bugs: First, the plugin did not get embedded when WYSIWYG editor is active.
Second, I cannot get the WYSIWYG editor to perform the Javascript functions of the emoticon chooser. It only works if you previously toggle the WYSWYG editor to HTML source mode (via the "<>" button)
I will commit the fix to 0.8-beta2, but you will not really be able to use the chooser with WYSIWYG mode, I am sorry. I currently have no idea how this can be done.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Thanks for the reply!
All right, no big deal any way. I can live without it, it'll just put a little more strain on my coffee-abused memory...
Thanks Garvin!

Thanks Garvin!
Re: Where is my Emoticon Chooser?
garvinhicking wrote:I currently have no idea how this can be done.
i have something in mind ...
there is a function, where you generate all the buttons for the htmleditor.
in: inlcude/function_entries.inc.php
Code: Select all
config<?php echo $jsname; ?>.toolbar = [
[ "fontname", "space",
"fontsize", "space",
"formatblock", "space",
"bold", "italic", "underline", "strikethrough", "separator",
"subscript", "superscript"],
[ "justifyleft", "justifycenter", "justifyright", "justifyfull", "separator",
"lefttoright", "righttoleft", "separator",
"orderedlist", "unorderedlist", "outdent", "indent", "separator",
"forecolor", "hilitecolor", "separator",
"inserthorizontalrule", "createlink", "insertimage", "image_selector", "inserttable", "htmlmode"],
[ "cite", "cite-source", "separator",
"copy", "cut", "paste", "space", "undo", "redo" ]
];
why don't you make another depth for the smilies only?!
for example, use a foreach (smiley-array) to give every one to the function. before this, you have to generate the buttons - but you can handle that with the foreach too ... like this:
Code: Select all
config<?php echo $jsname; ?>.registerButton(
"cite-source", //button ID
"Quelle", //tooltip
"htmlarea/images/source.gif", //image
false, //textMode
function(editor, id) { editor.surroundHTML('<cite-source>', '</cite-source>'); }
);
i think you can see the point ...
the only problem is, that images bigger than the button size aren't displayed correctly ... but i think, that this won't matter (a lot) ...
regards
reion
- garvinhicking
- Core Developer
- Posts: 30020
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Where is my Emoticon Chooser?
You seem to have a good clue to this. How would you like to look more into this and propose a patch? That would be great!
I'm not really much into HTMLArea...
Regards,
Garvin

I'm not really much into HTMLArea...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Where is my Emoticon Chooser?
garvinhicking wrote:You seem to have a good clue to this. How would you like to look more into this and propose a patch? That would be great!
i can make it ... BUT ... i'm not into serendipity ... so i have to know the emoticon array

garvinhicking wrote:I'm not really much into HTMLArea...
me too (yaaa ... a little bit - but i can go further) ... but i managed it to create my own buttons
btw ... a suggestion for the next releases or even for 0.8 ... there should be an option to create buttons (for wysiwyg and html) on your own ... simple inputs with write this to a table and the buttons (additional) are created from this table

mail me for further contact ... a_niedermair@aon.at
or contact me via icq (79108124), msn (a_niedermair@aon.at), yahoo (an.niedi) or aim (inhertiaREION) ...