Welcome Guest, Not a member yet? Register   Sign In
codeigniter smileys won't work after I adding tinymce editor in same form textarea...
#1

[eluser]reka[/eluser]
the smiley won't work in the same form textarea with tinymceditor ... why..?
how can I solve this problem..?
#2

[eluser]Bas Vermeulen[/eluser]
You really need to give us some more info about your problem, some sample code to work with would be nice. The smiley function works with a parse_smileys() helper function (check the manual) to parse text smileys (like : ) ; ) [without the spaces ofc]) etc) into image smileys on rendering the page. So you could add a text version of a smiley using tinymce, submit and display the result using parse_smileys() to show the image version.
#3

[eluser]reka[/eluser]
I'm using firebug...when I click some emoticons I get some error like this..

Code:
uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionStart]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost/ci_2/admin/posts/create :: insert_smiley :: line 458" data: no]

any tips ? :roll:




Theme © iAndrew 2016 - Forum software by © MyBB