Hi all,
I just discovered this great tool I've been dreaming of for a couple years.
I am currently installing it on my database admins to edit long text fields.
I am using rFastTempalte so I had to create a new PHP function 'createFCKeditor' which returns the html code instead of echoing it.
I then assign the result to a variable sent to my form.
Up to this point, everyting is cool.
Now my problem is the FCK box says 'Undefined' instead of showing the content of the MySQL field.
I don't understans because the <hidden> field created contains the right data from the dbase...
here is a portion of code showing how I parse the FCK editor to my template :
$oFCKeditor->Value = $row_ident["txt_spectacle"];
$fck_txt = $oFCKeditor -> CreateFCKeditor_template('txt_spectacle', '420', '200');
$aTemplate->assign(array("TXT_SPECTACLE" => $fck_txt));
The really amazing point is that if I put an echo $fck_txt;
I end up with 2 fck editors with the correct content. I really don't get it...
Thank you for any kinda help.
Seb
I just discovered this great tool I've been dreaming of for a couple years.
I am currently installing it on my database admins to edit long text fields.
I am using rFastTempalte so I had to create a new PHP function 'createFCKeditor' which returns the html code instead of echoing it.
I then assign the result to a variable sent to my form.
Up to this point, everyting is cool.
Now my problem is the FCK box says 'Undefined' instead of showing the content of the MySQL field.
I don't understans because the <hidden> field created contains the right data from the dbase...
here is a portion of code showing how I parse the FCK editor to my template :
$oFCKeditor->Value = $row_ident["txt_spectacle"];
$fck_txt = $oFCKeditor -> CreateFCKeditor_template('txt_spectacle', '420', '200');
$aTemplate->assign(array("TXT_SPECTACLE" => $fck_txt));
The really amazing point is that if I put an echo $fck_txt;
I end up with 2 fck editors with the correct content. I really don't get it...
Thank you for any kinda help.
Seb