Hi all,
i've got a problem when i try to upload files.
They upload well, but they're put directly in the /userfiles/ folder when i'd want them to be put in /userfiles/images or /userfiles/files ....
My code in editor/filemanager/connectors/php/config.php
$Config['Enabled'] = true ; $Config['UserFilesPath'] = 'http://www.xxx.org/uploadnews/' ; $Config['UserFilesAbsolutePath'] = $_SERVER["DOCUMENT_ROOT"].'/uploadnews/' ;
I'm using fckeditor in php.
Then, i can't find my files when i browse my server to search files that i've already uploaded (the finder is in the folders uploadnews/files or uploadnews/images) and i cant get to an higher folder to get my files (that are in uploadnews/).
If you got any solution ...
Excuse my english
Re: Upload and fckeditor ...
Well
I dont use PHP but in ColdFusion the server automaticaly create the folder if it doesnt exist.
I just declare '/userfiles/'
It's not necessary the http://blablabla....
Re: Upload and fckeditor ...
Without the http://xxxx it is the same result, but with, when i put a link in my textbox, it appear like http://xxxx/uploadnews/xxx.xx when when i remove it and let only /uploadnews/ the link appear like /uploadnews/xxx.xx so the users dont see the all address.
But it does not resolve my problem ^^
Re: Upload and fckeditor ...
FCKeditor\editor\filemanager\connectors\phplist\config.php
NOTE: by default, QuickUploadPath and QuickUploadAbsolutePath point to
"userfiles" directory to maintain backwards compatibility with older versions of FCKeditor.
This is fine, but you in some cases you will be not able to browse uploaded files using file browser.
Example: if you click on "image button", select "Upload" tab and send image
to the server, image will appear in FCKeditor correctly, but because it is placed
directly in /userfiles/ directory, you'll be not able to see it in built-in file browser.
The more expected behaviour would be to send images directly to "image" subfolder.
To achieve that, simply change
$Config['QuickUploadPath']['Image'] = $Config['UserFilesPath'] ;
$Config['QuickUploadAbsolutePath']['Image'] = $Config['UserFilesAbsolutePath'] ;
into:
$Config['QuickUploadPath']['Image'] = $Config['FileTypesPath']['Image'] ;
$Config['QuickUploadAbsolutePath']['Image'] = $Config['FileTypesAbsolutePath']['Image'] ;
Re: Upload and fckeditor ...
Re: Upload and fckeditor ...
Re: Upload and fckeditor ...
In my configuration file I have this:
This works perfect.

@Sosh2005: I'm so happy for you that you work. Let me tell you a secret: I work too. How great is that!