4945 Posts in 17703 Topics by 1494 members
Page: 1 2
|Go to End||Next >|
11 January 2009 at 12:58pm
I'm on a shared server and we log in to the server control panel via domain-name.com/admin
So, now I don't have access to SilverStripe CMS admin control panel. (which is the same)
Where can I find and change the address for the admin log in page?
Thanks, any help appreciated.
12 January 2009 at 5:15am
Thank you very much!
But I can't figure our where to insert the statement in the file?
Director::addRules(10, array('cms' => 'CMSMain', ));
Does the above look right? And where? May be someone could give me an example.
Thanks in advance to anyone for help.
*URL rules for the CMS module
* @package cms
'processes/$Action/$ID/$Batch' => 'BatchProcess_Controller',
'silverstripe' => '->admin',
'cms' => '->admin',
'admin/statistics/$Action/$ID' => 'StatisticsAdmin',
'admin/security/$Action/$ID/$OtherID' => 'SecurityAdmin',
'admin/help/$Action/$ID' => 'CMSHelp',
'admin/newsletter/$Action/$ID' => 'NewsletterAdmin',
'admin/reports/$Action/$ID' => 'ReportAdmin',
'admin/assets/$Action/$ID' => 'AssetAdmin',
'admin/comments/$Action' => 'CommentAdmin',
'admin/ReportField/$Action/$ID/$Type/$OtherID' => 'ReportField_Controller',
'admin/bulkload/$Action/$ID/$OtherID' => 'BulkLoaderAdmin',
'admin/ImageEditor/$Action' => 'ImageEditor',
'admin/$Action/$ID/$OtherID' => 'CMSMain',
'unsubscribe/$Email/$MailingList' => 'Unsubscribe_Controller',
'PageComment/$Action/$ID' => 'PageComment_Controller'
12 January 2009 at 7:30am
I believe that that code snippet goes in your site's config file. If you're the default BlackCandy install, this file will be located in the folder "mysite". If you selected to not use the theme, it will be in the "tutorial" folder. You should be able to place it anywhere in there.
12 January 2009 at 7:35am
I understand it is located in the config file, but where do I put the line, Director::addRules(10, array('cms' => 'CMSMain', )); in the existing file? Yes I am using the Blackcandy install.
Sorry I'm so stupid. ;)
12 January 2009 at 8:19am Last edited: 12 January 2009 8:20am
Your site configuration lives at /mysite/_config.php
It is an issue that has been identified and the first steps have been taken to make it truely agnostic, but for now, you might have to see if your ISP can change their admin path for you.
12 January 2009 at 3:00pm
I agree, it isn't a fix. Guess I'll stay tuned for one, unless I can find another good program for my situation.
13 January 2009 at 7:19am
Page: 1 2
|Go to Top||Next >|