Hello,
I was wondering if it's possible to associate more than one directory per resource type via the config file?
The only url/directory it will display is 'images'. Is there a way to add another directory to look up as well?
i.e.
I was wondering if it's possible to associate more than one directory per resource type via the config file?
$config['ResourceType'][] = Array( 'name' => 'Images', 'url' => $baseUrl . 'images', 'directory' => $baseDir . 'images', 'maxSize' => 0, 'allowedExtensions' => 'bmp,gif,jpeg,jpg,png', 'deniedExtensions' => '');
The only url/directory it will display is 'images'. Is there a way to add another directory to look up as well?
i.e.
'url' => array( $baseUrl . 'images' , $baseUrl . 'other' ), 'directory' => array( $baseDir . 'images' , $baseUrl . 'other' ),

Re: More than one directory associated with a resource type
Also if you're working on a unix system you can create symbolic links inside one folder to all other folders.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: More than one directory associated with a resource type
1) how does one configure CKFinder to show all resource types in the Image dialog? (and in which file is this adjustment made?)
2) same question for flash.
thanks
Re: More than one directory associated with a resource type
CKEDITOR.replace( 'editor1', { filebrowserBrowseUrl : '/ckfinder/ckfinder.html', filebrowserUploadUrl : '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files', // In order to be able to upload files to different resource types // in the "Upload" tab, add also the following: filebrowserImageUploadUrl : '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images', filebrowserFlashUploadUrl : '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash' });Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+