silverstripe-subsites/tests/SubsiteTest.yml

53 lines
1.1 KiB
YAML
Raw Normal View History

Subsite_Template:
main:
Title: Template
Domain: test.com
other:
Title: Other Template
Domain: other.com
Page:
home:
Title: Home
SubsiteID: =>Subsite_Template.main
about:
Title: About
SubsiteID: =>Subsite_Template.main
staff:
Title: Staff
ParentID: =>Page.about
SubsiteID: =>Subsite_Template.main
contact:
Title: Contact Us
SubsiteID: =>Subsite_Template.main
# Pages from the other template - added here as a control group :-)
home2:
Title: Home
SubsiteID: =>Subsite_Template.other
contact2:
Title: Contact Us
SubsiteID: =>Subsite_Template.other
#ErrorPage:
# 404:
# Title: Page not Found
# ErrorCode: 404
# SubsiteID: =>Subsite_Template.main
2007-08-17 07:50:23 +02:00
Group:
admin:
Title: Admin
Member:
admin:
FirstName: Admin
Surname: User
Email: admin@test.com
Password: rangi
Groups: =>Group.admin
Permission:
admin:
Code: ADMIN
GroupID: =>Group.admin