silverstripe-framework/tests/control/RootURLControllerTest.yml
Andrew Short ad7194cc40 FEATURE: Refactored RootURLController to allow nested home pages.
MINOR: Deprecated RootURLController::get_homepage_urlsegment() in favour of get_homepage_link().
MINOR: Updated SiteTree->RelativeLink() to return a link to the site root for the home page.

From: Andrew Short <andrewjshort@gmail.com>

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88496 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-11 00:07:17 +00:00

18 lines
455 B
YAML
Executable File

Page:
home:
Title: Home
nested:
Title: Nested Home
Parent: =>Page.home
page1:
Title: First Page
URLSegment: page1
HomepageForDomain: page.co.nz, help.com,something.com, www.something.com
page2:
Title: Second Page
URLSegment: page2
HomepageForDomain: other.co.nz, right
page3:
Title: Third Page
URLSegment: page3
HomepageForDomain: only.com