CodeIgniter Forums

Full Version: FckEditor doesnt return any value
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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

El Forum

[eluser]Unknown[/eluser]
Using ajax?

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

El Forum

[eluser]Sawariya[/eluser]
really helpful

El Forum

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