FileManager - not possible to change uploads folder

A place to discuss the testing process in beta cycles or against SVN for the CMS Made Simple CORE package.
Locked
User avatar
Augustas
Forum Members
Forum Members
Posts: 241
Joined: Wed Oct 17, 2007 6:09 pm
Location: the world

FileManager - not possible to change uploads folder

Post by Augustas »

I need FileManager to see other folder than default /uploads/
I change this parameter in configuration:

Code: Select all

#Where are uploaded files put?  This defaults to uploads.
$config['uploads_path'] = '/home/www/docs';

#Where is the url to this uploads directory?
$config['uploads_url'] = $config['root_url'] . '/docs';
Unfortunately, FileManager anyway brings me up /uploads/ folder.
I checked the source code, and it seems '/uploads/' is hard-coded and does not react to $config['uploads_path'] setting.

Bug is in CMSMS 1.2 + FileManager 0.2.0
as well as
Bug is in the newest CMSMS 1.2.1 + FileManager 0.2.1
http://FollowTheRoad.com/ - living on the road...
http://www.kligys.com/ - asmeninis blog'as...
alby

Re: FileManager - not possible to change uploads folder

Post by alby »

Augustas wrote: I need FileManager to see other folder than default /uploads/
- Active in Group properties: Advanced usage of the the File Manager module
- In FileManager Settings: check on Enable advanced mode? field

Alby
User avatar
Augustas
Forum Members
Forum Members
Posts: 241
Joined: Wed Oct 17, 2007 6:09 pm
Location: the world

Re: FileManager - not possible to change uploads folder

Post by Augustas »

Hello Alby,

I am logged in as Administrator.
I do not want to activate Advanced Mode, I want to change the default folder for uploads, which is /uploads/ usually, but I want to make it different.
According to the Help of this module:

http://wiki.cmsmadesimple.org/index.php ... le_Manager

You can change the default directory in config.php.

But it is not possible...
http://FollowTheRoad.com/ - living on the road...
http://www.kligys.com/ - asmeninis blog'as...
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm
Location: Denmark

Re: FileManager - not possible to change uploads folder

Post by Silmarillion »

This is embarrasingly true... Filemanager is presently hardcoded to /uploads/-style... If another release is done in the 1.x series I'll fix it. If not, it'll certainly be fixed for 2.0.

Sil.
nuno

Re: FileManager - not possible to change uploads folder

Post by nuno »

Augustas wrote: Hello Alby,

I am logged in as Administrator.
I do not want to activate Advanced Mode, I want to change the default folder for uploads, which is /uploads/ usually, but I want to make it different.
According to the Help of this module:

http://wiki.cmsmadesimple.org/index.php ... le_Manager

You can change the default directory in config.php.

But it is not possible...
you want same help on that?
you need change 3 files
nuno

Re: FileManager - not possible to change uploads folder

Post by nuno »

nuno wrote:
Augustas wrote: Hello Alby,

I am logged in as Administrator.
I do not want to activate Advanced Mode, I want to change the default folder for uploads, which is /uploads/ usually, but I want to make it different.
According to the Help of this module:

http://wiki.cmsmadesimple.org/index.php ... le_Manager

You can change the default directory in config.php.

But it is not possible...
you want same help on that?
you need change 3 files
fixed  in de svn - Filemanager/branches/1.x
Locked

Return to “[locked] Quality Assurance”