Ticket #1945 (new patch)
Allowing changing of default home page
| Reported by: | Jerr | Owned by: | sminnee |
|---|---|---|---|
| Priority: | medium | Milestone: | 2.3.1 |
| Component: | Sapphire Framework | Version: | 2.2.0 |
| Severity: | medium effort / impact | Keywords: | notformerge |
| Cc: | Hours: |
Description
$URL: svn://svn.silverstripe.com/silverstripe/open/modules/cms/tags/2.2.0/silverstripe_version $ I created this patch so that you can put in _config.php: RootURLController::set_default_root("some-other-page");
This allows you to set something other than "home" as the site's default. The old way had "home" hardcoded in, but here you can set a different default. Note that it defaults to "home" if set_default_root is never called.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
