Hello all,
I've just downloaded the fckeditor and integrated it to a school project, but I would like to know, first, if it is possible to open existing text documents in the editor, and if it is, how can I do it? can anyone provide me some help? Thanks a lot.
Dante
I've just downloaded the fckeditor and integrated it to a school project, but I would like to know, first, if it is possible to open existing text documents in the editor, and if it is, how can I do it? can anyone provide me some help? Thanks a lot.
Dante
Re: How to open files in the editor
this is the best info i've found on reading in a file to the FCKeditor, and then editing it and saving it.
http://w3.linux-magazine.com/issue/59/FCKEditor.pdf
I'm in the process of implementing something like this on a demo site i'm building. this covers a PHP installation; the key is this line in the PHP script that launches the editor:
$oFCKeditor->Value = file_get_contents($yourFileName);