I like the changes in the new version to the file manager but I had a few questions on the way the file browser works. Why does the file manager create its own file, image, media, and flash folders after you setup the config file in .../fckeditor/editor/filemanager/connectors/php/config.php? I would expect that if I specify a folder to store files in, that that should be the only folder that the browser looks in, and only I can create subfolders for whatever I need. I have set the following options in the config file:
$Config['Enabled'] = true;
$Config['UserFilesPath'] = '/assets/images/uploads/';
$Config['UserFilesAbsolutePath'] = '/var/www/html/assets/images/uploads/';
Now when I fire up the file browser, using the example of inserting an image, it immediately goes to my /assets/images/uploads/image/ folder instead of just the /assets/images/uploads/ folder I specified. I have run the test.html and uploadtest.html in the .../fckeditor/editor/filemanager/connectors/ folder and they run fine, but I don't understand why the folders file, image, media, and flash are being created when I specified the root folder I want the browser to look in.
And here's what confuses me more. If I choose not to use the file browser to upload a file and instead use the Upload tab in an image, flash, link popup window, it uploads the file to the correct folder (/assets/images/uploads/) which is the one I specified. Can anyone clear up my confusion?
$Config['Enabled'] = true;
$Config['UserFilesPath'] = '/assets/images/uploads/';
$Config['UserFilesAbsolutePath'] = '/var/www/html/assets/images/uploads/';
Now when I fire up the file browser, using the example of inserting an image, it immediately goes to my /assets/images/uploads/image/ folder instead of just the /assets/images/uploads/ folder I specified. I have run the test.html and uploadtest.html in the .../fckeditor/editor/filemanager/connectors/ folder and they run fine, but I don't understand why the folders file, image, media, and flash are being created when I specified the root folder I want the browser to look in.
And here's what confuses me more. If I choose not to use the file browser to upload a file and instead use the Upload tab in an image, flash, link popup window, it uploads the file to the correct folder (/assets/images/uploads/) which is the one I specified. Can anyone clear up my confusion?

Re: 2.5 File Manager Questions
http://www.fckeditor.net/extras/ckfinder
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: 2.5 File Manager Questions
Thanks for the reply. I guess my question isn't really about the lumping of files together, but rather why does the upload tab only upload files to one folder (the folder I specify in the config file) while the file browser allows you to specify any folder to upload a file to except the folder I specified in the config file? The upload tab seems to be a shortcut around using the file manger but here's the issue. In my config file, if I specify an upload folder of say /images/uploads/ then the upload tab will drop files there, but the file manager never sees them because it only looks in /images/uploads/image, /images/uploads/file, /images/uploads/flash, or /images/uploads/media. It's the fact that the file browser created those four folders on its own and doesn't look in the folder I specified in the config file that confuses me.
Re: 2.5 File Manager Questions
Re: 2.5 File Manager Questions
I'm currently using the 2.5 beta, can you tell me how to set that configuration as what I see are the $Config['Enabled'], $Config['UserFilesPath'], $Config['UserFilesAbsolutePath'] variables in the new connector config file?
Re: 2.5 File Manager Questions
There are lots of other comments.
Re: 2.5 File Manager Questions
Re: 2.5 File Manager Questions
Re: 2.5 File Manager Questions
Set it to /home/public_html/mydomain.com/abc/...or whatever your system path to that directory is.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: 2.5 File Manager Questions
thank you so much
Re: 2.5 File Manager Questions
If I use the "upload" tabs, it didn't work ("/home/powerdev/www/userfiles/" : can't create directory)
But if I use first server browse, then "Upload a new file in this folder", it work perfect.
<?php .... global $Config ; $Config['Enabled'] = true ; $Config['UserFilesPath'] = '/userfiles/' ; $Config['UserFilesAbsolutePath'] = '/home/powerdev/www/userfiles/' ; $Config['AllowedExtensions']['Image'] = array('bmp','gif','jpeg','jpg','png','psd','tif','tiff') ; $Config['DeniedExtensions']['Image'] = array() ; $Config['FileTypesPath']['Image'] = $Config['UserFilesPath'] . 'image/' ; $Config['FileTypesAbsolutePath']['Image']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'image/' ; $Config['QuickUploadPath']['Image'] = $Config['UserFilesPath'] ; $Config['QuickUploadAbsolutePath']['Image']= $Config['UserFilesAbsolutePath'] ; ..... ?>