I've found out that to change your basepath setting you do that when you instantiate fckeditor for the webpage you're using it on. That works, now I have fckeditor folder in a directory other than root. However, when I'm uploading an image file it's still getting put into the root folder under the userfiles directory. How do I change the fckeditor settings so that it sends the image files to a custom image directory?
Sat, 02/07/2009 - 13:22
#1
Re: default path
ConfigUserFilesPath = "/newdirectory/"
Re: default path
then further down,
both my files and images are being loaded in the root of '/userfiles/'.
what else is there to change?
thanks!
Re: default path
I'm having the same problem the editor puts it in the root folder and not in the Image and flash folders I have this in my config file.
$Config['UserFilesPath'] = 'http://www.name.com/uploads/' ;
$Config['UserFilesAbsolutePath'] = 'C:/wamp/www/xtreme/uploads/' ;
$Config['FileTypesPath']['Image'] = $Config['UserFilesPath'] . 'image/' ;
What does this do?
$Config['QuickUploadPath']['Image'] = $Config['UserFilesPath'] ;