silverstripe-subsites/tests/SubsiteTest.yml
Tom Rix 53d51e40ba
2010-03-01 02:56:19 +00:00

105 lines
2.5 KiB
YAML

Subsite_Template:
main:
Title: Template
subsite1:
Title: Subsite1 Template
subsite2:
Title: Subsite2 Template
Subsite:
domaintest1:
Title: Test 1
domaintest2:
Title: Test 2
domaintest3:
Title: Test 3
SubsiteDomain:
subsite1:
SubsiteID: =>Subsite_Template.subsite1
Domain: subsite1.*
subsite2:
SubsiteID: =>Subsite_Template.subsite2
Domain: subsite2.*
dt1a:
SubsiteID: =>Subsite.domaintest1
Domain: one.example.org
IsPrimary: 1
dt1b:
SubsiteID: =>Subsite.domaintest1
Domain: one.*
dt2a:
SubsiteID: =>Subsite.domaintest2
Domain: two.mysite.com
IsPrimary: 1
dt2b:
SubsiteID: =>Subsite.domaintest2
Domain: *.mysite.com
dt3:
SubsiteID: =>Subsite.domaintest3
Domain: three.*
IsPrimary: 1
SiteTree:
home:
Title: Home
SubsiteID: =>Subsite_Template.main
about:
Title: About
SubsiteID: =>Subsite_Template.main
linky:
Title: Linky
SubsiteID: =>Subsite_Template.main
staff:
Title: Staff
ParentID: =>SiteTree.about
SubsiteID: =>Subsite_Template.main
contact:
Title: Contact Us
SubsiteID: =>Subsite_Template.main
subsite1_home:
Title: Home (Subsite 1)
SubsiteID: =>Subsite_Template.subsite1
subsite1_contactus:
Title: Contact Us (Subsite 1)
SubsiteID: =>Subsite_Template.subsite1
subsite2_home:
Title: Home (Subsite 2)
SubsiteID: =>Subsite_Template.subsite2
subsite2_contactus:
Title: Contact Us (Subsite 2)
SubsiteID: =>Subsite_Template.subsite2
Group:
admin:
Title: Admin
Code: admin
subsite1_group:
Title: subsite1_group
Code: subsite1_group
SubsiteID: =>Subsite_Template.subsite1
subsite2_group:
Title: subsite2_group
Code: subsite2_group
SubsiteID: =>Subsite_Template.subsite2
Permission:
admin:
Code: ADMIN
GroupID: =>Group.admin
accesscmsmain1:
Code: CMS_ACCESS_CMSMain
GroupID: =>Group.subsite1_group
accesscmsmain2:
Code: CMS_ACCESS_CMSMain
GroupID: =>Group.subsite2_group
Member:
admin:
FirstName: Admin
Surname: User
Email: admin@test.com
Password: rangi
Groups: =>Group.admin
subsite1member:
Email: subsite1member@test.com
Groups: =>Group.subsite1_group
subsite2member:
Email: subsite2member@test.com
Groups: =>Group.subsite2_group