silverstripe-cms/tests/php/Model/SiteTreeTest.yml

131 lines
3.5 KiB
YAML
Raw Normal View History

SilverStripe\SiteConfig\SiteConfig:
default:
Title: My test site
Tagline: Default site config
CanViewType: Anyone
CanEditType: LoggedInUsers
CanCreateTopLevelType: LoggedInUsers
SilverStripe\Security\Group:
2014-04-28 22:54:17 +02:00
editors:
Title: Editors
admins:
Title: Administrators
allsections:
Title: All Section Editors
securityadmins:
Title: Security Admins
SilverStripe\Security\Permission:
2014-04-28 22:54:17 +02:00
admins:
Code: ADMIN
Group: =>SilverStripe\Security\Group.admins
2014-04-28 22:54:17 +02:00
editors:
Code: CMS_ACCESS_CMSMain
Group: =>SilverStripe\Security\Group.editors
2014-04-28 22:54:17 +02:00
allsections:
Code: CMS_ACCESS_LeftAndMain
Group: =>SilverStripe\Security\Group.allsections
2014-04-28 22:54:17 +02:00
securityadmins:
Code: CMS_ACCESS_SecurityAdmin
Group: =>SilverStripe\Security\Group.securityadmins
SilverStripe\Security\Member:
2014-04-28 22:54:17 +02:00
editor:
FirstName: Test
Surname: Editor
Groups: =>SilverStripe\Security\Group.editors
2014-04-28 22:54:17 +02:00
admin:
FirstName: Test
Surname: Administrator
Groups: =>SilverStripe\Security\Group.admins
2014-04-28 22:54:17 +02:00
allsections:
Groups: =>SilverStripe\Security\Group.allsections
2014-04-28 22:54:17 +02:00
securityadmin:
Groups: =>SilverStripe\Security\Group.securityadmins
SilverStripe\CMS\Model\SiteTree:
2014-04-28 22:54:17 +02:00
home:
Title: Home
CanEditType: OnlyTheseUsers
EditorGroups: =>SilverStripe\Security\Group.admins
2014-04-28 22:54:17 +02:00
about:
Title: About Us
CanEditType: OnlyTheseUsers
EditorGroups: =>SilverStripe\Security\Group.admins
2014-04-28 22:54:17 +02:00
staff:
Title: Staff
URLSegment: my-staff
Parent: =>SilverStripe\CMS\Model\SiteTree.about
2014-04-28 22:54:17 +02:00
ceo:
Title: CEO
Parent: =>SilverStripe\CMS\Model\SiteTree.staff
2014-04-28 22:54:17 +02:00
staffduplicate:
Title: Staff
URLSegment: my-staff
Parent: =>SilverStripe\CMS\Model\SiteTree.about
ShowInMenus: 0
2014-04-28 22:54:17 +02:00
products:
Title: Products
CanEditType: OnlyTheseUsers
EditorGroups: =>SilverStripe\Security\Group.editors
2014-04-28 22:54:17 +02:00
product1:
Title: 1.1 Test Product
Parent: =>SilverStripe\CMS\Model\SiteTree.products
2014-04-28 22:54:17 +02:00
CanEditType: Inherit
product2:
Title: Another Product
Parent: =>SilverStripe\CMS\Model\SiteTree.products
2014-04-28 22:54:17 +02:00
CanEditType: Inherit
product3:
Title: Another Product
Parent: =>SilverStripe\CMS\Model\SiteTree.products
2014-04-28 22:54:17 +02:00
CanEditType: Inherit
product4:
Title: Another Product
Parent: =>SilverStripe\CMS\Model\SiteTree.products
2014-04-28 22:54:17 +02:00
CanEditType: OnlyTheseUsers
EditorGroups: =>SilverStripe\Security\Group.admins
2014-04-28 22:54:17 +02:00
contact:
Title: Contact Us
object:
Title: Object
controller:
Title: Controller
numericonly:
Title: 1930
metapage:
Title: 'HTML & XML'
MetaDescription: 'The <br /> and <br> tags'
ExtraMeta: '<link rel="canonical" href="http://www.mysite.com/html-and-xml" />'
2014-05-08 04:09:02 +02:00
breadcrumbs:
Title: 'Breadcrumbs'
breadcrumbs2:
Title: 'Breadcrumbs 2'
Parent: =>SilverStripe\CMS\Model\SiteTree.breadcrumbs
2014-05-08 04:09:02 +02:00
breadcrumbs3:
Title: 'Breadcrumbs 3'
Parent: =>SilverStripe\CMS\Model\SiteTree.breadcrumbs2
2014-05-08 04:09:02 +02:00
breadcrumbs4:
Title: 'Breadcrumbs 4'
Parent: =>SilverStripe\CMS\Model\SiteTree.breadcrumbs3
2014-05-08 04:09:02 +02:00
breadcrumbs5:
Title: 'Breadcrumbs 5'
Parent: =>SilverStripe\CMS\Model\SiteTree.breadcrumbs4
2017-08-09 04:53:38 +02:00
SilverStripe\CMS\Tests\Model\SiteTreeTest_Conflicted:
2014-04-28 22:54:17 +02:00
parent:
Title: Parent
2016-08-10 06:08:39 +02:00
SilverStripe\CMS\Model\RedirectorPage:
2014-04-28 22:54:17 +02:00
external:
Title: External
URLSegment: external
RedirectionType: External
ExternalURL: "http://www.google.com?a&b"
2017-08-09 04:53:38 +02:00
SilverStripe\CMS\Tests\Model\SiteTreeTest_DataObject:
relations:
Title: 'Linked DataObject'
Pages: =>SilverStripe\CMS\Model\SiteTree.home,=>SilverStripe\CMS\Model\SiteTree.about,=>SilverStripe\CMS\Model\SiteTree.staff