I have the file browser working fine with PHP. I have selected my exisiting folder which is /uploads to put files into.
However, no matter what I've tried - whenever I launch the image browser it always goes to /uploads/Images, and for files /uploads/Files
I don't want this to happen - no matter what method I use I want the browser to go to /uploads only.
The resource selector is useful for only showing certain types, but I do not want that to change the directory.
My existing CMS expects to start off in /uploads, so currently the provided file browser is useless. Anyone got any ideas?
- S
However, no matter what I've tried - whenever I launch the image browser it always goes to /uploads/Images, and for files /uploads/Files
I don't want this to happen - no matter what method I use I want the browser to go to /uploads only.
The resource selector is useful for only showing certain types, but I do not want that to change the directory.
My existing CMS expects to start off in /uploads, so currently the provided file browser is useless. Anyone got any ideas?
- S
RE: File Browser - Setting the default folder
I had a quick look for this, but could't suss it out in time. I'll see if ican figure out tonight and post back tomorrow.
RE: File Browser - Setting the default folder
$sResourceTypePath = $GLOBALS["UserFilesDirectory"] . $resourceType . '/' ;
with
$sResourceTypePath = $GLOBALS["UserFilesDirectory"] . '/' ;
Hope this works for you.
RE: File Browser - Setting the default folder
RE: File Browser - Setting the default folder
I've just setup FCKeditor for my web. in File Browser, i can't select default folder for Uploads file.
example :
my folder website is : wwwroot/attech
i want setup my folder Userfiles in wwwroot/attech/Userfiles . how do it ?
I setup Fckeditor is : wwwroot/attech/library/fckeditor
my computer : win2k advance server , IIS , php5
Sorry about my English !! Thanks for your help