Is it possible to not have the 'Files/Images/Flash' folders (CKfinder)? I would like our users to dump all of their files in one directory. We do have different directories based on what 'site' they are working in though.
To remove the 'Basket' folder, add the following line of code to CKfinder's config.js file... CKFinder.customConfig = function( config ) { config.removePlugins = 'basket'; };
Re: No Files/Images/Flash Folders CKfinder
The resource types and upload folders are fully configurable. See the Resource Types articles in the Developer's Guide (this one for PHP, for example: http://docs.cksource.com/CKFinder_2.x/D ... urce_Types).
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: No Files/Images/Flash Folders CKfinder
I commented out the following code to remove the Images folder. Commenting out the similar pieces of code for the other folders removed them as well.
config.resourceType[2] = structNew();
config.resourceType[2].name = 'Images';
config.resourceType[2].url = config.baseUrl & 'images';
config.resourceType[2].directory = config.baseDir & 'images';
config.resourceType[2].maxSize = 0;
config.resourceType[2].allowedExtensions = 'bmp,gif,jpeg,jpg,png';
config.resourceType[2].deniedExtensions = '';
To remove the 'Basket' folder, add the following line of code to CKfinder's config.js file...
CKFinder.customConfig = function( config )
{
config.removePlugins = 'basket';
};