I want to disable the ability to make new folders and upload images with the Image Browser - but retain the ability to browse and insert existing images.
"FCKConfig.ImageUpload = false" in my fckconfig.js but this only seems to alter the initial dialog. When I click 'Browse Server' I still get a 'New Folder' and 'Upload' bar.
I am using v 2.2
thanks
"FCKConfig.ImageUpload = false" in my fckconfig.js but this only seems to alter the initial dialog. When I click 'Browse Server' I still get a 'New Folder' and 'Upload' bar.
I am using v 2.2
thanks
RE: Disable image upload
You can edit the file itself in the dialog-folder, and remove the html that you danot want to appear.
I dont know if this is the correct way to do it, but i think it is possible.
Johnny
RE: Disable image upload
RE: Disable image upload
I looked all over the place for a solution to this problem and will post the approach that I took although, be warned that it isn't the most elegant solution around. It is however very simple
open file
fckeditor/editor/filemanager/browser/default/browser.html
scroll down to the HTML for the frames setup and look for the line
<frameset rows="50,*,50" framespacing="0">
This line tells the browser to create three rows "50,*,50". these relate to the three sections on the righthand pane of the filebrowser. If we delete the last row it will stop the "upload" and "new folder" settings from appearing on the page. The updated line should now be.
<frameset rows="50,*" framespacing="0">
As I said, this isn't a great solution as it doesn't disable the feature but mearly doesn't show it. Anyone familiar with FKCeditor would easliy be able to workaround this to use/abuse the feature although, it will stop the basic user from uploading and creating folders that you don't want.
Re: Disable image upload
If you edit the following pages and <!-- comment out --> the parts you want to hide in the HTML tables it removes the features from the page so no one can create new folders or upload images.
frmupload.htm
frmcreatefolder.htm
This is not ideal as it will get overwriten with new versions so please post here if you have a better solution.
Re: Disable image upload