Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CKEditor with CKFinder - disable FileBrowser, Keep Upload functionality

I am using CKFinder integrated in CKEditor. I want to keep the Upload feature active, but scrap the Browse Server option as I don't want users doing this.

How can I do this?

Thank you.

like image 732
Francisc Avatar asked Aug 31 '10 14:08

Francisc


1 Answers

The shorthand is after you setup the CKFinder integration with CKEditor, override the URLs to the FileBrowser:

//Prevent the fileBrowser button and option
$CKEditor->config['filebrowserBrowseUrl']='';
$CKEditor->config['filebrowserImageBrowseUrl']='';
$CKEditor->config['filebrowserFlashBrowseUrl']='';
like image 146
Francisc Avatar answered Oct 17 '22 05:10

Francisc