Hello,
I'm having difficulty integrating the new version of fckeditor using php, and documentation has not been added yet.
In the previous version, this is how i was calling the editor in a php file:
how would i do the equivalent with the new version?
Thanks in advance..
I'm having difficulty integrating the new version of fckeditor using php, and documentation has not been added yet.
In the previous version, this is how i was calling the editor in a php file:
<?include ("FCKeditor2/fckeditor.php"); $oFCKeditor = new FCKeditor ; $oFCKeditor->ToolbarSet = 'Mark_Basic' ; $oFCKeditor->Value = $hp_oldmansguide ; $oFCKeditor->CanUpload = false ; // Overrides fck_config.js default configuration $oFCKeditor->CanBrowse = false ; // Overrides fck_config.js default configuration $oFCKeditor->CreateFCKeditor( 'hp_oldmansguide', '350', 300 ) ; ?>
how would i do the equivalent with the new version?
Thanks in advance..
RE: Using PHP with v 2.0 RC3
include "FCKeditor2/fckeditor.php";
$edit = new FCKEditor("hp_oldmansguide");
$edit->create();
the other options could be changed in the fckeditor.php file in the function FCKeditor.
hope that helps.
greets,
chris