CKEditor can be integrated with an external(user provided) file manager (file browser/uploader). This is done through the Ckeditor File Browser plugin. My file manager program allow me to browse for image files on my server and then uploads my image files to Ckeditor. In order to interface the browser to the Ckeditor, I must tell Ckeditor the path to the browser. This is done by supplying the following js code in the user's application running the Ckeditor.
CKEDITOR.replace( 'editor1', {
filebrowserBrowseUrl: '/browser/browse.php',
filebrowserUploadUrl: '/uploader/upload.php',
});
Note the upload.php file is my supplied program to upload files from the user's PC to the content server to be accessed by the Ckeditor.
I have successfully tested this method with a stand alone PHP/javascript program using Ckeditor. The code was placed within a javascript section before the Ckeditor is executed. All works great.
I am using the DataTable Editor and have configured it to successfully use the Ckeditor 4.3.1 except for the interface to the browser.php and upload.php (mentioned above).
My question is: where do I place the CKEDITOR code above within the DataTable Editor code? I have tried placing this code in a few different js places with out success.
Can you help?
Thank you