Page 1 of 1

[solved] Using FCKeditor or tinyMCE with comment input

Posted: Tue May 16, 2006 6:14 pm
by Dr.CSS
is there anyway to use the FCKeditor or the tinyMCE editor as the comment input textarea..?. i called the FCKeditor it came up and i thought cool if i could just get rid of a few of these buttons and just have smiley's and text options and maybe format this is going to be awsome, but to no avail,,, input text formated added smileys' looking good hit submit ....

Error:

    * Enter A Comment (isn't that the point?)

tinyMCE won't even show up to the party hhmmm.... so back to plain old textarea input...  :(
just thought i would ask

  mark

Re: Using FCKeditor or tinyMCE with comment input

Posted: Wed Aug 23, 2006 8:22 am
by cyberman
Hi Mark,

found your posting today - it works for me with Comments 1.6 and FCK ;).

You have only to change in action.addcomment.php line 190 from

Code: Select all

	$this->smarty->assign_by_ref('inputcomment', 	$this->CreateTextArea(false, $id, $content, 'content', $id));
to

Code: Select all

	$this->smarty->assign_by_ref('inputcomment', 	$this->CreateTextArea(true, $id, $content, 'content', $id));
FCK must be your prefered WYSIWYG.

Re: Using FCKeditor or tinyMCE with comment input

Posted: Wed Aug 23, 2006 6:52 pm
by Dr.CSS
Thanks but I got tiny to come to the party ;) and it has smilies.

I've switched over to tinyMCE as default in my 1.0 b5 install, FCKeditor was having a hard time with more than one content edit window, was making Ff spin like it was busy even tho I could still edit the content and apply it and see the changes.

Re: Using FCKeditor or tinyMCE with comment input

Posted: Wed Jan 30, 2008 1:45 am
by robsta
Okay I got this working nicely in Comments 1.8.2 with CMSMS 1.2.3

the file is action.default.php line number is now 280

Code: Select all

$this->smarty->assign_by_ref('inputcomment', 	$this->CreateTextArea(true, $id, $content, 'content', $id, '', '', '', 65));
same as above just change the CreateTextArea to true instead of false