silverstripe-blog/tests/blog.yml

197 lines
4.9 KiB
YAML
Raw Normal View History

2013-10-10 00:09:28 +02:00
# Mock date is set to 2013-10-01 20:00:00
2015-05-09 16:33:12 +02:00
Group:
2015-05-09 16:33:12 +02:00
Administrators:
Title: Administrators
2015-05-09 16:33:12 +02:00
Editors:
Title: Editors
2015-05-09 16:33:12 +02:00
BlogUsers:
Title: Blog Users
Code: blogusers
Permission:
2015-05-09 16:33:12 +02:00
Administrators:
Code: ADMIN
2015-05-09 16:33:12 +02:00
Group: =>Group.Administrators
Editors:
Code: CMS_ACCESS_CMSMain
2015-05-09 16:33:12 +02:00
Group: =>Group.Editors
BlogUsers:
Code: CMS_ACCESS_CMSMain
2015-05-09 16:33:12 +02:00
Group: =>Group.BlogUsers
SiteConfig:
2015-05-09 16:33:12 +02:00
Default:
CanEditType: 'OnlyTheseUsers'
CanCreateTopLevelType: 'OnlyTheseUsers'
2015-05-09 16:33:12 +02:00
EditorGroups: =>Group.Administrators,=>Group.Editors
CreateTopLevelGroups: =>Group.Administrators,=>Group.Editors
Member:
2015-05-09 16:33:12 +02:00
Admin:
FirstName: Test
Surname: Administrator
2015-05-09 16:33:12 +02:00
Groups: =>Group.Administrators
Editor:
FirstName: Test
Surname: Editor
2015-05-09 16:33:12 +02:00
Groups: =>Group.Editors
BlogEditor:
FirstName: Blog
Surname: Editor
2015-05-09 16:33:12 +02:00
Groups: =>Group.BlogUsers
Writer:
FirstName: Blog
Surname: Writer
2015-05-09 16:33:12 +02:00
Groups: =>Group.BlogUsers
Contributor:
FirstName: Blog
Surname: Contributor
2015-05-09 16:33:12 +02:00
Groups: =>Group.BlogUsers
Visitor:
FirstName: Blog
Surname: Visitor
2013-10-10 00:09:28 +02:00
Blog:
2015-05-09 16:33:12 +02:00
FirstBlog:
2013-10-10 00:09:28 +02:00
Title: 'First Blog'
2015-05-09 16:33:12 +02:00
SecondBlog:
Title: 'Second Blog'
CanViewType: 'OnlyTheseUsers'
CanEditType: 'OnlyTheseUsers'
2015-05-09 16:33:12 +02:00
ViewerGroups: =>Group.Administrators
EditorGroups: =>Group.Administrators
ThirdBlog:
Title: 'Third Blog'
CanEditType: 'OnlyTheseUsers'
2015-05-09 16:33:12 +02:00
EditorGroups: =>Group.Editors
FourthBlog:
Title: 'Fourth Blog'
2015-05-09 16:33:12 +02:00
Editors: =>Member.BlogEditor
Writers: =>Member.Writer
Contributors: =>Member.Contributor
2013-10-10 00:09:28 +02:00
BlogTag:
2015-05-09 16:33:12 +02:00
FirstTag:
2013-10-10 00:09:28 +02:00
Title: 'First Tag'
URLSegment: 'first-tag'
2015-05-09 16:33:12 +02:00
Blog: =>Blog.FirstBlog
SecondTag:
Title: 'Second Tag'
URLSegment: 'second-tag'
2015-05-09 16:33:12 +02:00
Blog: =>Blog.SecondBlog
ThirdTag:
Title: 'Third Tag'
URLSegment: 'third-tag'
2015-05-09 16:33:12 +02:00
Blog: =>Blog.ThirdBlog
2013-10-10 00:09:28 +02:00
#Tags for Tag Cloud widget
PopularTag:
Title: 'Popular'
URLSegment: 'popular-tag'
Blog: =>Blog.FourthBlog
CoolTag:
Title: 'Cool'
URLSegment: 'cool-tag'
Blog: =>Blog.FourthBlog
CatTag:
Title: 'Cat'
URLSegment: 'cat-tag'
Blog: =>Blog.FourthBlog
KiwiTag:
Title: 'Kiwi'
URLSegment: 'kiwi-tag'
Blog: =>Blog.FourthBlog
2013-10-10 00:09:28 +02:00
BlogCategory:
2015-05-09 16:33:12 +02:00
FirstCategory:
2013-10-10 00:09:28 +02:00
Title: 'First Category'
URLSegment: 'first-category'
2015-05-09 16:33:12 +02:00
Blog: =>Blog.FirstBlog
SecondCategory:
Title: 'Second Category'
URLSegment: 'second-category'
2015-05-09 16:33:12 +02:00
Blog: =>Blog.SecondBlog
ThirdCategory:
Title: 'Third Category'
URLSegment: 'third-category'
2015-05-09 16:33:12 +02:00
Blog: =>Blog.ThirdBlog
2013-10-10 00:09:28 +02:00
BlogPost:
2015-05-09 16:33:12 +02:00
FirstBlogPost:
Title: 'First Post'
2013-10-10 00:09:28 +02:00
URLSegment: first-post
PublishDate: '2013-10-01 15:00:00'
2015-05-09 16:33:12 +02:00
Parent: =>Blog.FirstBlog
Tags: =>BlogTag.FirstTag
Categories: =>BlogCategory.FirstCategory
SecondBlogPost:
Title: 'Second Post'
2013-10-10 00:09:28 +02:00
URLSegment: second-post
PublishDate: '2013-09-01 15:00:00'
2015-05-09 16:33:12 +02:00
Parent: =>Blog.FirstBlog
ThirdBlogPost:
Title: 'Old Post'
2013-10-10 00:09:28 +02:00
URLSegment: old-post
PublishDate: '2012-01-09 15:00:00'
2015-05-09 16:33:12 +02:00
Parent: =>Blog.FirstBlog
FirstFutureBlogPost:
2013-10-10 00:09:28 +02:00
Title: 'Future Post'
URLSegment: future-post
PublishDate: '2015-01-01 00:00:00'
2015-05-09 16:33:12 +02:00
Tags: =>BlogTag.FirstTag
Categories: =>BlogCategory.FirstCategory
Parent: =>Blog.FirstBlog
SecondFutureBlogPost:
2013-10-10 00:09:28 +02:00
Title: 'Future Post 2'
URLSegment: future-post-2
PublishDate: '2013-11-01 00:00:00'
2015-05-09 16:33:12 +02:00
Tags: =>BlogTag.FirstTag
Categories: =>BlogCategory.FirstCategory
Parent: =>Blog.FirstBlog
PostA:
Title: 'One Post'
PublishDate: '2012-01-09 15:00:00'
2015-05-09 16:33:12 +02:00
Parent: =>Blog.FourthBlog
Authors: =>Member.Writer,=>Member.Contributor
PostB:
Title: 'Second Post'
PublishDate: '2012-01-09 15:00:00'
2015-05-09 16:33:12 +02:00
Parent: =>Blog.FourthBlog
Authors: =>Member.BlogEditor
PostC:
Title: 'Third Post'
PublishDate: '2012-01-09 15:00:00'
2015-05-09 16:33:12 +02:00
Parent: =>Blog.FourthBlog
Authors: =>Member.BlogEditor,=>Member.Writer,=>Member.Contributor
#Posts for the tag cloud widget test
TaggedPost1:
Title: 'Tagged Post 1'
URLSegment: tagged-post-1
PublishDate: '2012-01-09 15:00:00'
Tags: =>BlogTag.PopularTag,=>BlogTag.CoolTag
Categories: =>BlogCategory.FirstCategory
Parent: =>Blog.FourthBlog
TaggedPost2:
Title: 'Tagged Post 2'
URLSegment: tagged-post-2
PublishDate: '2012-01-09 15:00:00'
Tags: =>BlogTag.PopularTag,=>BlogTag.CoolTag,=>BlogTag.CatTag
Categories: =>BlogCategory.FirstCategory
Parent: =>Blog.FourthBlog
TaggedPost3:
Title: 'Tagged Post 3'
URLSegment: tagged-post-3
PublishDate: '2012-01-09 17:20:00'
Tags: =>BlogTag.PopularTag,=>BlogTag.CoolTag,=>BlogTag.CatTag,=>BlogTag.KiwiTag
Categories: =>BlogCategory.FirstCategory
Parent: =>Blog.FourthBlog
TaggedPost4:
Title: 'Tagged Post 4'
URLSegment: tagged-post-4
PublishDate: '2012-04-09 15:00:00'
Tags: =>BlogTag.PopularTag
Categories: =>BlogCategory.FirstCategory
Parent: =>Blog.FourthBlog