; Content Module
version = 1.0
description = Provides content presentation and management facilities.
icon = images/icon.png
tags = content, widgets, manage
[maintainer]
name = Perforce Software
email = support@perforce.com
url = http://www.perforce.com
[stylesheets]
all.href[] = style.css
all.href[] = reserved.css
ie7.href = ie7.css
ie7.condition = IE 7
[dojo]
toolbar.namespace = p4cms.content.toolbar
toolbar.path = dojo/content/toolbar
toolbar.acl.site = access-toolbar
full.namespace = p4cms.content
full.path = dojo/content
full.acl.content = access-history,manage,add,edit-all,edit-own,delete-any,delete-own,manage-types
[acl]
content.label = Content
content.privileges.access.label = Access Content
content.privileges.access.allow = anonymous, member, author, editor, administrator
content.privileges.access-history.label = Access Content History
content.privileges.access-history.allow = author, editor, administrator
content.privileges.manage.label = Access Content Management
content.privileges.manage.allow = author, editor, administrator
content.privileges.add.label = Add Content
content.privileges.add.allow = author, editor, administrator
content.privileges.edit.hidden = true
content.privileges.edit.allowAll = true
content.privileges.edit.assertion = Content_Acl_Assert_CanEdit
content.privileges.edit-all.label = Edit Content
content.privileges.edit-all.allow = editor, administrator
content.privileges.edit-own.label = Edit Own Content
content.privileges.edit-own.allow = author, editor, administrator
content.privileges.delete.hidden = true
content.privileges.delete.allowAll = true
content.privileges.delete.assertion = Content_Acl_Assert_CanDelete
content.privileges.delete-any.label = Delete Content
content.privileges.delete-any.allow = editor, administrator
content.privileges.delete-own.label = Delete Own Content
content.privileges.delete-own.allow = author, editor, administrator
content.privileges.manage-types.label = Manage Content Types
content.privileges.manage-types.allow = editor, administrator
[menus]
primary.home.label = Home
primary.home.module = content
primary.home.controller = index
primary.home.action = index
primary.home.order = 0
primary.home.class = home-page
manage-toolbar.content-manage.label = Content
manage-toolbar.content-manage.title = Manage Content
manage-toolbar.content-manage.module = content
manage-toolbar.content-manage.controller = index
manage-toolbar.content-manage.action = manage
manage-toolbar.content-manage.class = manage-toolbar-content-manage
manage-toolbar.content-manage.order = 15
manage-toolbar.content-manage.resource = content
manage-toolbar.content-manage.privilege = manage
manage-toolbar.content-edit.label = Edit
manage-toolbar.content-edit.title = Edit Content
manage-toolbar.content-edit.id = content-edit
manage-toolbar.content-edit.onActivate = "p4cms.ui.enableEditGroup('content')"
manage-toolbar.content-edit.onDeactivate = "p4cms.ui.disableEditGroup('content')"
manage-toolbar.content-edit.class = manage-toolbar-content-edit
manage-toolbar.content-edit.order = 20
manage-toolbar.content-edit.onDrawerLoad = "p4cms.content.loadContentToolbar(arguments[0], 'edit');"
manage-toolbar.content-add.label = Add
manage-toolbar.content-add.title = Add Content
manage-toolbar.content-add.id = content-add
manage-toolbar.content-add.onActivate = "p4cms.content.onActivateToolbarAdd()"
manage-toolbar.content-add.onDeactivate = "p4cms.content.onDeactivateToolbarAdd()"
manage-toolbar.content-add.class = manage-toolbar-content-add
manage-toolbar.content-add.order = 30
manage-toolbar.content-add.resource = content
manage-toolbar.content-add.privilege = add
manage-toolbar.content-add.onDrawerLoad = "p4cms.content.loadContentToolbar(arguments[0], 'add');"
manage-toolbar.manage.pages.content.label = Content Management
manage-toolbar.manage.pages.content.order = 10
manage-toolbar.manage.pages.content.pages.manage.label = Content
manage-toolbar.manage.pages.content.pages.manage.module = content
manage-toolbar.manage.pages.content.pages.manage.controller = index
manage-toolbar.manage.pages.content.pages.manage.action = manage
manage-toolbar.manage.pages.content.pages.manage.order = 20
manage-toolbar.manage.pages.content.pages.manage.resource = content
manage-toolbar.manage.pages.content.pages.manage.privilege = manage
manage-toolbar.manage.pages.content.pages.types.label = Content Types
manage-toolbar.manage.pages.content.pages.types.module = content
manage-toolbar.manage.pages.content.pages.types.controller = type
manage-toolbar.manage.pages.content.pages.types.action = index
manage-toolbar.manage.pages.content.pages.types.order = 30
manage-toolbar.manage.pages.content.pages.types.resource = content
manage-toolbar.manage.pages.content.pages.types.privilege = manage-types
manage-toolbar.content-history.label = History
manage-toolbar.content-history.title = "View Content's History"
manage-toolbar.content-history.id = content-history
manage-toolbar.content-history.onDrawerLoad = "p4cms.content.loadHistoryToolbar(arguments[0]);"
manage-toolbar.content-history.onActivate = "p4cms.content.getActive().drawMask();"
manage-toolbar.content-history.onDeactivate = "p4cms.content.getActive().clearMask();"
manage-toolbar.content-history.class = manage-toolbar-content-history
manage-toolbar.content-history.order = 40
[widgets]
list.label = Content List
list.description = This widget displays a list of content.
list.controller = list-widget
list.defaults.count = 10
list.defaults.primarySortField = #REdate
list.defaults.primarySortOrder = d
list.defaults.showIcons = 1
list.defaults.contentType[] = Pages/*
[routes]
rss.type = P4Cms_Controller_Router_Route_Regex
rss.route = 'content/rss/([^?]*)'
rss.reverse = content/rss/%s
rss.defaults.module = content
rss.defaults.controller = list-widget
rss.defaults.action = rss
rss.map.widget = 1
[types]
basic-page.label = Basic Page
basic-page.group = Pages
basic-page.order = -20
basic-page.iconFile = images/icon-page.png
basic-page.workflow = simple
basic-page.elements.title.type = text
basic-page.elements.title.options.label = Title
basic-page.elements.title.options.required = true
basic-page.elements.title.display.tagName = h1
basic-page.elements.title.display.filters[] = HtmlSpecialChars
basic-page.elements.image.type = ImageSelect
basic-page.elements.image.options.label = Image
basic-page.elements.body.type = editor
basic-page.elements.body.options.label = Body
basic-page.elements.body.options.height = 440px
basic-page.elements.body.options.filters[] = DebranchifyUrls
basic-page.elements.body.display.filters[] = BranchifyUrls
basic-page.elements.body.display.filters[] = DefaultStripTags
blog-post.label = Blog Post
blog-post.group = Pages
blog-post.iconFile = images/icon-blog.png
blog-post.workflow = simple
blog-post.elements.title.type = text
blog-post.elements.title.options.label = Title
blog-post.elements.title.options.required = true
blog-post.elements.title.display.tagName = h1
blog-post.elements.title.display.filters[] = HtmlSpecialChars
blog-post.elements.date.type = dateTextBox
blog-post.elements.date.options.label = Date
blog-post.elements.date.options.required = true
blog-post.elements.date.options.datePattern = MMMM d, yyyy
blog-post.elements.date.display.decorators[] = DateFormat
blog-post.elements.date.display.filters[] = HtmlSpecialChars
blog-post.elements.excerpt.type = editor
blog-post.elements.excerpt.options.label = Excerpt
blog-post.elements.excerpt.options.height = 70px
blog-post.elements.excerpt.options.filters[] = DebranchifyUrls
blog-post.elements.excerpt.display.filters[] = BranchifyUrls
blog-post.elements.excerpt.display.filters[] = DefaultStripTags
blog-post.elements.excerpt.display.render = 0
blog-post.elements.image.type = ImageSelect
blog-post.elements.image.options.label = Image
blog-post.elements.body.type = editor
blog-post.elements.body.options.label = Body
blog-post.elements.body.options.height = 440px
blog-post.elements.body.options.filters[] = DebranchifyUrls
blog-post.elements.body.display.filters[] = BranchifyUrls
blog-post.elements.body.display.filters[] = DefaultStripTags
blog-post.elements.author.type = text
blog-post.elements.author.options.label = Author
blog-post.elements.author.display.filters[] = HtmlSpecialChars
blog-post.elements.author.display.decorators.0.name = ConditionalText
blog-post.elements.author.display.decorators.0.options.text = '-';
press-release.label = Press Release
press-release.group = Pages
press-release.iconFile = images/icon-pr.png
press-release.workflow = simple
press-release.elements.title.type = text
press-release.elements.title.options.label = Title
press-release.elements.title.options.required = true
press-release.elements.title.display.tagName = h1
press-release.elements.title.display.filters[] = HtmlSpecialChars
press-release.elements.subtitle.type = text
press-release.elements.subtitle.options.label = Sub-Title
press-release.elements.subtitle.display.tagName = h2
press-release.elements.subtitle.display.filters[] = HtmlSpecialChars
press-release.elements.date.type = dateTextBox
press-release.elements.date.options.label = Date
press-release.elements.date.options.required = true
press-release.elements.date.options.datePattern = MMMM d, yyyy
press-release.elements.date.display.decorators[] = DateFormat
press-release.elements.date.display.filters[] = HtmlSpecialChars
press-release.elements.location.type = text
press-release.elements.location.options.label = Location
press-release.elements.location.display.filters[] = HtmlSpecialChars
press-release.elements.location.display.decorators.0.name = ConditionalText
press-release.elements.location.display.decorators.0.options.text = '-';
press-release.elements.image.type = ImageSelect
press-release.elements.image.options.label = Image
press-release.elements.body.type = editor
press-release.elements.body.options.label = Body
press-release.elements.body.options.height = 440px
press-release.elements.body.options.filters[] = DebranchifyUrls
press-release.elements.body.display.filters[] = BranchifyUrls
press-release.elements.body.display.filters[] = DefaultStripTags
press-release.elements.contact.type = editor
press-release.elements.contact.options.label = Contact Details
press-release.elements.contact.options.height = 70px
press-release.elements.contact.options.filters[] = DebranchifyUrls
press-release.elements.contact.display.filters[] = BranchifyUrls
press-release.elements.contact.display.filters[] = DefaultStripTags
gallery.label = Image Gallery
gallery.group = Pages
gallery.iconFile = images/icon-gallery.png
gallery.workflow = simple
gallery.elements.title.type = text
gallery.elements.title.options.label = Title
gallery.elements.title.options.required = true
gallery.elements.title.display.tagName = h1
gallery.elements.title.display.filters[] = HtmlSpecialChars
gallery.elements.images.type = imageSelect
gallery.elements.images.options.label = Images
gallery.elements.images.options.multiple = true
gallery.elements.images.options.validTypes[] = image
gallery.elements.images.display.image.height = 150
gallery.elements.images.display.image.maxWidth = 300
gallery.elements.images.display.image.link = true
gallery.elements.images.display.image.target = _lightbox
image.label = Image
image.group = Assets
image.order = -10
image.iconFile = images/icon-image.png
image.elements.title.type = text
image.elements.title.options.label = Title
image.elements.title.options.required = true
image.elements.title.display.tagName = h1
image.elements.title.display.filters[] = HtmlSpecialChars
image.elements.file.type = imageFile
image.elements.file.options.label = File
image.elements.file.options.required = true
image.elements.file.search.index.disabled = true
image.elements.date.type = dateTextBox
image.elements.date.options.label = Date
image.elements.date.options.datePattern = MMMM d, yyyy
image.elements.date.display.decorators[] = DateFormat
image.elements.date.display.filters[] = HtmlSpecialChars
image.elements.creator.type = text
image.elements.creator.options.label = Created By
image.elements.creator.display.filters[] = HtmlSpecialChars
image.elements.description.type = text
image.elements.description.options.label = Description
image.elements.description.display.filters[] = HtmlSpecialChars
image.elements.alt.type = text
image.elements.alt.options.label = Alternate Text
image.elements.alt.display.filters[] = HtmlSpecialChars
file.label = File
file.group = Assets
file.iconFile = images/icon-binary.png
file.elements.title.type = text
file.elements.title.options.label = Title
file.elements.title.options.required = true
file.elements.title.display.tagName = h1
file.elements.title.display.filters[] = HtmlSpecialChars
file.elements.file.type = file
file.elements.file.options.label = File
file.elements.file.options.required = true
file.elements.file.search.index.disabled = true
file.elements.date.type = dateTextBox
file.elements.date.options.label = Date
file.elements.date.options.datePattern = MMMM d, yyyy
file.elements.date.display.decorators[] = DateFormat
file.elements.date.display.filters[] = HtmlSpecialChars
file.elements.description.type = editor
file.elements.description.options.label = Description
file.elements.description.options.filters[] = DebranchifyUrls
file.elements.description.display.filters[] = BranchifyUrls
file.elements.description.display.filters[] = DefaultStripTags