Hello All,
I am trying to disable ALL uploading. I am using ckfinder and ckeditor for php. I have set the AccessControl fileUpload => false. But I still get the Upload tab on the Image File Browser (Uploader). The config settings from fckEditor don't seem to help either, as I have tried putting the following into my config.js for ckEditor:
config.filebrowserImageUploadUrl = false;
config.filebrowserImageUpload = false;
config.ImageUpload = false;
So, how do I get rid of the upload tab in the image in this link, (it has the #2 pointing at it):
http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_(Uploader)
Thanks for your help.
Tue, 11/17/2009 - 03:50
#1
Re: Removing Tabs From the Image Dialog
It appears that even though I do not have the filebrowserUploadUrl set in my ckEditor config.js, the Upload tab would still be available and clicking on the "Send to Server" button on that tab would bring up a 404 File Not Found Error. This only started happening when I integrated ckFinder with ckEditor where before the introduction of ckFinder, the upload tab was missing as desired/expected.
To truly get the desired effect, I had to put 'filebrowserUploadUrl : null' in my settings when calling CKEDITOR.replace to create the editor instance.
I can only assume that ckFinder does some extra magic that ignores some of the ckEditor settings or lack there of.
Hope that helps others.
Re: Removing Tabs From the Image Dialog
thanks for your message I couldn't figure out how to remove this tab.
Pierre
Re: Removing Tabs From the Image Dialog
filebrowserUploadUrl : null, //disable upload tab
filebrowserImageUploadUrl : null, //disable upload tab
filebrowserFlashUploadUrl : null, //disable upload tab
Re: Removing Tabs From the Image Dialog
Solved
Thats nice this solved my problem.