Welcome Guest, Not a member yet? Register   Sign In
fckeditor post value
#2

[eluser]Nicholas Bello[/eluser]
I would need to see your code but my guess is you're not looking for the correct posted value. Per the example you referenced the FCKeditor is instantiated like this:

Code:
***** USAGE ******

// e.g. 1
echo form_fckeditor('textareaName', $value );


// e.g. 2
$data = array(
              'name'        => 'textareaName2',
              'id'          => 'textareaName2',
              'toolbarset'  => 'Advanced',
              'basepath'    => '/fckeditor/',
              'width'       => '100%',
              'height'      => '200'
    );

echo form_fckeditor( $data );

Pay close attention to this line:

Code:
echo form_fckeditor('textareaName', $value );


The value 'textareaName' (or whatever you changed it to) is what will be posted to your controller. To get the value of the FCKeditor textarea do something like this:

Code:
$fckValue = $this->input->post('textareaName',TRUE);

If that doesn't solve the issue please post the code you are using.

Nick


Messages In This Thread
fckeditor post value - by El Forum - 08-05-2011, 06:15 AM
fckeditor post value - by El Forum - 08-05-2011, 08:23 AM
fckeditor post value - by El Forum - 08-07-2011, 01:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB