FckEditor doesnt return any value

#1
[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

#2
[eluser]Unknown[/eluser]
Using ajax?

If so check this out:
http://wiki.fckeditor.net/Troubleshootin...0a41253d76

#3
[eluser]Sawariya[/eluser]
really helpful

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.