The forum operates in read-only mode. Please head to StackOverflow for support.
'name' => 'Files', 'url' => $baseUrl, 'directory' => $baseDir
Wiktor Walc CTO, CKSource - http://cksource.com -- Follow CKEditor on: Twitter | Facebook | Google+
$config['ResourceType'][] = Array( 'name' => 'files', 'url' => $baseUrl . 'files', 'directory' => $baseDir . 'files', 'maxSize' => 0, 'allowedExtensions' => '7z,[...],zip,swf,flv,bmp,gif,jpeg,jpg,png', 'deniedExtensions' => '');
CKEDITOR.replace( 'editor1', { filebrowserImageBrowseUrl : '/ckfinder/ckfinder.html?Type=', filebrowserFlashBrowseUrl : '/ckfinder/ckfinder.html?Type=' });
Re: disable Resource Types
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: disable Resource Types
after some more testing i did it like your suggestion:
In config.php i left only ONE ResourceType (in which I added the allowedExtensions from the other ResourceTyps ('swf' & 'flv,bmp,gif,jpeg,jpg,png'):
and in CKEDITOR.replace I removed the "?Type=" Information
CKEDITOR.replace( 'editor1', { filebrowserImageBrowseUrl : '/ckfinder/ckfinder.html?Type=', filebrowserFlashBrowseUrl : '/ckfinder/ckfinder.html?Type=' });