pyams_content.shared.blog.zmi package¶
+Submodules¶
+pyams_content.shared.blog.zmi.manager module¶
+-
+
-
+class
pyams_content.shared.blog.zmi.manager.
BlogManagerAJAXAddForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXAddForm
,pyams_content.shared.blog.zmi.manager.BlogManagerAddForm
Blog manager add form, JSON renderer
+
-
+
-
+class
pyams_content.shared.blog.zmi.manager.
BlogManagerAddForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogAddForm
Blog manager add form
+-
+
-
+
add
(object)¶
+
-
+
-
+
ajax_handler
= 'add-blog-manager.json'¶
+
-
+
-
+
create
(data)¶
+
-
+
-
+
edit_permission
= None¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-tags'¶
+
-
+
-
+
legend
= 'Add blog manager'¶
+
-
+
-
+
nextURL
()¶
+
-
+
-
+
title
= 'Blog manager'¶
+
-
+
-
+
-
+class
pyams_content.shared.blog.zmi.manager.
BlogManagerAddMenu
(context, request, view, manager)¶
+ Bases:
+pyams_skin.viewlet.toolbar.ToolbarMenuItem
Blog manager add menu
+-
+
-
+
label
= 'Add blog manager'¶
+
-
+
-
+
label_css_class
= 'fa fa-fw fa-tags'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'add-blog-manager.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.blog.zmi.manager.
BlogManagerTableElementEditor
(context, request, view)¶
+ Bases:
+pyams_skin.table.DefaultElementEditorAdapter
Blog manager table element editor
+-
+
-
+
modal_target
= False¶
+
-
+
-
+
view_name
= 'admin'¶
+
-
+
-
+
-
+class
pyams_content.shared.blog.zmi.manager.
BlogManagerUserAddingsMenuLabelAdapter
(context, request)¶
+ Bases:
+pyams_utils.adapter.ContextRequestAdapter
Blog manager user addings menu label adapter
+-
+
-
+
label
¶
+
-
+
-
+
-
+class
pyams_content.shared.blog.zmi.manager.
BlogManagerWorkflowPublicationAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_content.shared.blog.zmi.manager.BlogManagerWorkflowPublicationEditForm
Blog manager workflow publication edit form, JSON renderer
+
-
+
-
+class
pyams_content.shared.blog.zmi.manager.
BlogManagerWorkflowPublicationEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
Blog manager workflow publication edit form
+-
+
-
+
ajax_handler
= 'workflow-publication.json'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSite'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
legend
= 'Update publication dates'¶
+
-
+
-
+
-
+class
pyams_content.shared.blog.zmi.manager.
BlogManagerWorkflowPublicationMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Blog manager workflow publication menu
+-
+
-
+
icon_class
= 'fa-eye'¶
+
-
+
-
+
label
= 'Publication dates...'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'workflow-publication.html'¶
+
-
+
-
+
-
+
pyams_content.shared.blog.zmi.manager.
handle_new_blog_manager_data_extraction
(event)¶
+ Handle new blog manager data extraction
+
Module contents¶
+-
+
-
+class
pyams_content.shared.blog.zmi.
BlogPostAJAXAddForm
(context, request)¶
+ Bases:
+pyams_content.shared.common.zmi.SharedContentAJAXAddForm
,pyams_content.shared.blog.zmi.BlogPostAddForm
Blog post add form, JSON renderer
+
-
+
-
+class
pyams_content.shared.blog.zmi.
BlogPostAddAction
(context, request, view, manager)¶
+ Bases:
+pyams_skin.viewlet.toolbar.ToolbarAction
Blog post adding action
+-
+
-
+
label
= 'Add blog post'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'add-shared-content.html'¶
+
-
+
-
+
-
+class
pyams_content.shared.blog.zmi.
BlogPostAddForm
(context, request)¶
+ Bases:
+pyams_content.shared.common.zmi.SharedContentAddForm
Blog post add form
+-
+
-
+
add
(wf_content)¶
+
-
+
-
+
content_url
= None¶
+
-
+
-
+
legend
= 'Add blog post'¶
+
-
+
-
+
nextURL
()¶
+
-
+
-
+
-
+class
pyams_content.shared.blog.zmi.
BlogPostContentMenuHeader
(context, request)¶
+ Bases:
+pyams_utils.adapter.ContextRequestAdapter
Blog post content menu header adapter
+-
+
-
+
header
= 'This blog post'¶
+
-
+
-
+
-
+class
pyams_content.shared.blog.zmi.
BlogPostTitleAdapter
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Blog post title adapter
+-
+
-
+
title
¶
+
-
+