Page 1 of 1

Modules Broken in Admin Interface

Posted: Mon May 15, 2006 8:43 pm
by pgoneill
We're using CMSMS for our corporate intranet (sorry, I won't be able to provide links or any information - it's all very "hush hush" :) ).

Internally, we get to it via "https://intranet.ourcompany.com" and externally, our sister and parent companies get to it through "https://intranet.parentcompany.com".  People outside were unable to get anywhere beyond the homepage, but this was solved by changing the config file to say:

Code: Select all

$config['root_url'] = '.';
$config['uploads_url'] = '.uploads';
$config['image_uploads_url'] = '.uploads/images';
This works fine until we get into the admin side, which works fine until you need a module within the admin interface.  For example, FCKEditor refuses to be pulled in and the news entries try to look in "/admin/admin/moduleinterface.php?.....".

We're going to try to get everyone (internally and externally) to resolve through https://intranet.parentcompany.com so that I could change the config file to:

Code: Select all

$config['root_url'] = 'https://intranet.parentcompany.com';
$config['uploads_url'] = 'https://intranet.parentcompany.com/uploads';
$config['image_uploads_url'] = 'https://intranet.parentcompany.com/uploads/images';
...but in the meantime if anyone can offer another solution...I'm all ears.  Thanks in advance!

Also, I tried a bunch of things with $config['admin_dir'] = 'admin'; - I changed it to '.', './', '../', and others to no avail.

Re: Modules Broken in Admin Interface

Posted: Wed May 17, 2006 9:45 am
by Ted
Actually, you can get away with taking the domain off entirely...

Code: Select all

$config['root_url'] = '';
$config['uploads_url'] = 'uploads';
$config['image_uploads_url'] = 'uploads/images';
I've done this in the past with testing situations and it's worked fine for me.

Re: Modules Broken in Admin Interface

Posted: Wed May 17, 2006 9:51 am
by Ted
Sorry, that would break image manager...  You'd want:

Code: Select all

$config['root_url'] = '';
$config['uploads_url'] = '/uploads';
$config['image_uploads_url'] = '/uploads/images';

Re: Modules Broken in Admin Interface

Posted: Tue May 23, 2006 6:22 pm
by pgoneill
I've got it working now.  Thanks for the help.