ENHANCEMENT Changing CMSMain->RootForm() (edits SiteConfig record) from being invoked on the tree root node to having its own section called "Settings" in the CMS menu (through a new CMSSettingsController class)
This commit is contained in:
parent
17131f7a2a
commit
2ab9a062b5
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
class CMSSettingsController extends CMSMain {
|
||||
|
||||
static $url_segment = 'settings';
|
||||
static $url_rule = '/$Action/$ID/$OtherID';
|
||||
static $menu_priority = -1;
|
||||
static $menu_title = 'Settings';
|
||||
|
||||
function getEditForm($id = null, $fields = null) {
|
||||
return $this->RootForm();
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue