CodeIgniter Forums
FckEditor doesnt return any value - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: FckEditor doesnt return any value (/showthread.php?tid=5017)



FckEditor doesnt return any value - El Forum - 12-31-2007

[eluser]Dsyfa[/eluser]
Hi,

I was able to successfully integrate FckEditor into CI as a form helper extension with the help of this post, thanks to flyer. The problem I'm facing now is that I cant seem to retrieve the value - I get an empty string.

Here's what I'm doing in my view file:
Code:
<?
$introEditor_attrib = array(
                              'instanceName' => 'intro_text',
                              'Height' => 200,
                              'Width' => 700 );
                
echo form_fckeditor( $introEditor_attrib );
?>
And in my controller function I'm doing this:
Code:
$data[ 'intro_text' ] = htmlentities( $this->input->post( 'intro_text', true ) );

Where am I going wrong?

Thanks


FckEditor doesnt return any value - El Forum - 12-31-2007

[eluser]Unknown[/eluser]
Using ajax?

If so check this out:
http://wiki.fckeditor.net/Troubleshooting#head-c83215c3393542ddc261fb2b7a64b60a41253d76


FckEditor doesnt return any value - El Forum - 12-31-2007

[eluser]Sawariya[/eluser]
really helpful


FckEditor doesnt return any value - El Forum - 12-31-2007

[eluser]Dsyfa[/eluser]
No, I'm not using AJAX but I tried out the hack. It doesn't work Sad