pyams_content.component.links.zmi package¶
+Submodules¶
+pyams_content.component.links.zmi.container module¶
+-
+
-
+
pyams_content.component.links.zmi.container.
get_links
(request)¶
+ Get links list in JSON format for TinyMCE editor
+
-
+
-
+
pyams_content.component.links.zmi.container.
get_links_list
(request)¶
+ Get links list in JSON format for TinyMCE editor
+
pyams_content.component.links.zmi.reverse module¶
+-
+
-
+class
pyams_content.component.links.zmi.reverse.
ReverseLinkNameColumn
(context, request, table)¶
+ Bases:
+pyams_skin.table.NameColumn
Reverse link name column
+
-
+
-
+class
pyams_content.component.links.zmi.reverse.
SequentialITargetReverseLinksMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
Sequential ID target reverse links menu
+-
+
-
+
icon_class
= 'fa-anchor'¶
+
-
+
-
+
label
= 'Reverse links'¶
+
-
+
-
+
url
= '#reverse-links.html'¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.reverse.
SequentialIdTargetReverseLinkTable
(context, request)¶
+ Bases:
+pyams_skin.table.BaseTable
Sequential ID target reverse links table
+-
+
-
+
title
= "Content's internal links"¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.reverse.
SequentialIdTargetReverseLinkValues
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
Sequential ID target reverse links values
+-
+
-
+
values
¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.reverse.
SequentialIdTargetReverseLinkView
(context, request)¶
+ Bases:
+pyams_zmi.view.AdminView
,pyams_skin.container.ContainerView
Sequential ID target reverse links view
+-
+
-
+
table_class
¶
+ alias of
+SequentialIdTargetReverseLinkTable
-
+
Module contents¶
+-
+
-
+class
pyams_content.component.links.zmi.
ExternalLinkAJAXAddForm
(context, request)¶
+ Bases:
+pyams_content.component.association.zmi.AssociationItemAJAXAddForm
,pyams_content.component.links.zmi.ExternalLinkAddForm
External link add form, JSON renderer
+-
+
-
+
get_ajax_output
(changes)¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
ExternalLinkAddForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogAddForm
External link add form
+-
+
-
+
add
(object)¶
+
-
+
-
+
ajax_handler
= 'add-external-link.json'¶
+
-
+
-
+
create
(data)¶
+
-
+
-
+
edit_permission
= 'pyams.ManageContent'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-external-link'¶
+
-
+
-
+
legend
= 'Add new external link'¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
ExternalLinkAddMenu
(context, request, view, manager)¶
+ Bases:
+pyams_form.security.ProtectedFormObjectMixin
,pyams_skin.viewlet.toolbar.ToolbarMenuItem
External link add menu
+-
+
-
+
label
= 'Add external link'¶
+
-
+
-
+
label_css_class
= 'fa fa-fw fa-external-link'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'add-external-link.html'¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
ExternalLinkPropertiesAJAXEditForm
(context, request)¶
+ Bases:
+pyams_content.component.association.zmi.AssociationItemAJAXEditForm
,pyams_content.component.links.zmi.ExternalLinkPropertiesEditForm
External link properties edit form, JSON renderer
+-
+
-
+
get_ajax_output
(changes)¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
ExternalLinkPropertiesEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
External link properties edit form
+-
+
-
+
ajax_handler
= 'properties.json'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageContent'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-external-link'¶
+
-
+
-
+
legend
= 'Edit external link properties'¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
ExternalLinksCounter
(context, request, view, manager)¶
+ Bases:
+pyams_content.component.paragraph.zmi.container.ParagraphContainerCounterBase
External links count column
+-
+
-
+
action_class
= 'action external-links nowrap width-40'¶
+
-
+
-
+
count
¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-external-link'¶
+
-
+
-
+
icon_hint
= 'External links'¶
+
-
+
-
+
weight
= 11¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
InternalLinkAJAXAddForm
(context, request)¶
+ Bases:
+pyams_content.component.association.zmi.AssociationItemAJAXAddForm
,pyams_content.component.links.zmi.InternalLinkAddForm
Internal link add form, JSON renderer
+-
+
-
+
get_ajax_output
(changes)¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
InternalLinkAddForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogAddForm
Internal link add form
+-
+
-
+
add
(object)¶
+
-
+
-
+
ajax_handler
= 'add-internal-link.json'¶
+
-
+
-
+
create
(data)¶
+
-
+
-
+
edit_permission
= 'pyams.ManageContent'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-external-link-square fa-rotate-90'¶
+
-
+
-
+
legend
= 'Add new internal link'¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
InternalLinkAddMenu
(context, request, view, manager)¶
+ Bases:
+pyams_form.security.ProtectedFormObjectMixin
,pyams_skin.viewlet.toolbar.ToolbarMenuItem
Internal link add menu
+-
+
-
+
label
= 'Add internal link'¶
+
-
+
-
+
label_css_class
= 'fa fa-fw fa-external-link-square fa-rotate-90'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'add-internal-link.html'¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
InternalLinkPropertiesAJAXEditForm
(context, request)¶
+ Bases:
+pyams_content.component.association.zmi.AssociationItemAJAXEditForm
,pyams_content.component.links.zmi.InternalLinkPropertiesEditForm
Internal link properties edit form, JSON renderer
+-
+
-
+
get_ajax_output
(changes)¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
InternalLinkPropertiesEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
Internal link properties edit form
+-
+
-
+
ajax_handler
= 'properties.json'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageContent'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-external-link-square fa-rotate-90'¶
+
-
+
-
+
legend
= 'Edit internal link properties'¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
InternalLinksCounter
(context, request, view, manager)¶
+ Bases:
+pyams_content.component.paragraph.zmi.container.ParagraphContainerCounterBase
Internal links count column
+-
+
-
+
action_class
= 'action internal-links nowrap width-40'¶
+
-
+
-
+
count
¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-external-link-square fa-rotate-90'¶
+
-
+
-
+
icon_hint
= 'Internal links'¶
+
-
+
-
+
weight
= 10¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
MailtoLinkAJAXAddForm
(context, request)¶
+ Bases:
+pyams_content.component.association.zmi.AssociationItemAJAXAddForm
,pyams_content.component.links.zmi.MailtoLinkAddForm
Mailto link add form, JSON renderer
+-
+
-
+
get_ajax_output
(changes)¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
MailtoLinkAddForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogAddForm
Mailto link add form
+-
+
-
+
add
(object)¶
+
-
+
-
+
ajax_handler
= 'add-mailto-link.json'¶
+
-
+
-
+
create
(data)¶
+
-
+
-
+
edit_permission
= 'pyams.ManageContent'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-envelope-o'¶
+
-
+
-
+
legend
= 'Add new mailto link'¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
MailtoLinkAddMenu
(context, request, view, manager)¶
+ Bases:
+pyams_form.security.ProtectedFormObjectMixin
,pyams_skin.viewlet.toolbar.ToolbarMenuItem
Mailto link add menu
+-
+
-
+
label
= 'Add mailto link'¶
+
-
+
-
+
label_css_class
= 'fa fa-fw fa-envelope-o'¶
+
-
+
-
+
modal_target
= True¶
+
-
+
-
+
url
= 'add-mailto-link.html'¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
MailtoLinkPropertiesAJAXEditForm
(context, request)¶
+ Bases:
+pyams_content.component.association.zmi.AssociationItemAJAXEditForm
,pyams_content.component.links.zmi.MailtoLinkPropertiesEditForm
Mailto link properties edit form, JSON renderer
+-
+
-
+
get_ajax_output
(changes)¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
MailtoLinkPropertiesEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
Mailto link properties edit form
+-
+
-
+
ajax_handler
= 'properties.json'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageContent'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
icon_css_class
= 'fa fa-fw fa-envelope-o'¶
+
-
+
-
+
legend
= 'Edit mailto link properties'¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+
-
+
-
+class
pyams_content.component.links.zmi.
MailtoLinksCounter
(context, request, view, manager)¶
+ Bases:
+pyams_content.component.paragraph.zmi.container.ParagraphContainerCounterBase
Mailto links count column
+-
+
-
+
action_class
= 'action mailto-links nowrap width-40'¶
+
-
+
-
+
count
¶
+
-
+
-
+
icon_class
= 'fa fa-fw fa-envelope-o'¶
+
-
+
-
+
icon_hint
= 'Mailto links'¶
+
-
+
-
+
weight
= 12¶
+
-
+