Upload Integration
Hi people
I'm having a little trouble.... I've downloaded simogeo filemanager then in CK editor I've added the following lines
CKEDITOR.replace( 'editor1', { filebrowserImageUploadUrl : 'filemanager/connectors/php/filemanager.php' } );
When I click Upload, nothing happens! I highly suspect either I need to develop an Upload script or am I missing something? The readme talks of an add mode, but I'm not conversant with JSON... My question guys is this: Is there any other modification needed to upload a file from your local comp to the server using CK editor 3 + Simogeo filemaneger?
Please please help... Stuck with a delayed project
Job
The Upload button you mention concerns the Filemanager or CKeditor?
CK Editor
Indeed, the script does not exist yet. Actually, you can write it and propose a patch, or just disable the Upload Tab to force the user to use the filemananger for upload.
Here is the way to go wuth FCKeditor : http://www.electrictoolbox.com/remove-browse-button-upload-tab-fckeditor-link-dialog/ http://www.electrictoolbox.com/remove-browse-button-upload-tab-fckeditor-image-properties-dialog/
Should be something similar with CKeditor.
Please, let us know. Thanks,
When I look at the CK and FCK version, the CK editor posts is data to: http://ckeditor.com/apps/ckfinder/2.0.2/core/connector/php/connector.php?command=QuickUpload&type=Files¤tFolder=/Public%20Folder&CKEditor=editor1&CKEditorFuncNum=2&langCode=nl
And gets the following response:
FCKEdtior posts its data (in my case) to: Shared/include/FCKEditor2/editor/filemanager/upload/aspx/upload.aspx
And the response is:
You can make your own upload trigger and give the response needed, I guess.
Trick is to point the CK editor to the correct upload location. In the FCK config file it's just changing this: FCKConfig.LinkUploadURL = FCKConfig.BasePath + "filemanager/upload/aspx/upload.aspx";
I don't know how the change the config file of the CK editor, but it should be possible to override the default settings.
Hope this helps a little. I haven't tested it (yet)