2010-01-27 13:28:47 +01:00
|
|
|
<configure
|
|
|
|
xmlns="http://namespaces.zope.org/zope"
|
2010-02-06 16:48:23 +01:00
|
|
|
xmlns:zcml="http://namespaces.zope.org/zcml"
|
2010-01-27 13:28:47 +01:00
|
|
|
i18n_domain="plone.app.discussion">
|
|
|
|
|
2010-12-16 03:12:13 +01:00
|
|
|
<subscriber
|
|
|
|
for="plone.app.discussion.interfaces.IComment
|
|
|
|
zope.app.container.interfaces.IObjectAddedEvent"
|
|
|
|
handler=".comment.notify_workflow"
|
|
|
|
/>
|
2010-02-06 16:48:23 +01:00
|
|
|
|
2010-12-16 03:12:13 +01:00
|
|
|
<subscriber
|
|
|
|
for="plone.app.discussion.interfaces.IComment
|
|
|
|
zope.app.container.interfaces.IObjectAddedEvent"
|
|
|
|
handler=".comment.notify_content_object"
|
|
|
|
/>
|
2010-02-06 16:48:23 +01:00
|
|
|
|
2010-12-16 03:12:13 +01:00
|
|
|
<subscriber
|
|
|
|
for="plone.app.discussion.interfaces.IComment
|
|
|
|
zope.app.container.interfaces.IObjectRemovedEvent"
|
|
|
|
handler=".comment.notify_content_object"
|
|
|
|
/>
|
2010-02-06 16:48:23 +01:00
|
|
|
|
2010-12-16 03:12:13 +01:00
|
|
|
<subscriber
|
|
|
|
for="plone.app.discussion.interfaces.IComment
|
|
|
|
zope.app.container.interfaces.IObjectAddedEvent"
|
|
|
|
handler=".tool.index_object"
|
|
|
|
/>
|
2010-02-06 16:48:23 +01:00
|
|
|
|
2010-12-16 03:12:13 +01:00
|
|
|
<subscriber
|
|
|
|
for="plone.app.discussion.interfaces.IComment
|
|
|
|
zope.app.container.interfaces.IObjectRemovedEvent"
|
|
|
|
handler=".tool.unindex_object"
|
|
|
|
/>
|
2010-02-06 16:48:23 +01:00
|
|
|
|
2010-12-16 03:12:13 +01:00
|
|
|
<subscriber
|
|
|
|
for="Products.CMFCore.interfaces.IContentish
|
|
|
|
zope.app.container.interfaces.IObjectRemovedEvent"
|
|
|
|
handler=".comment.notify_content_object_deleted"
|
|
|
|
/>
|
2010-01-27 13:28:47 +01:00
|
|
|
|
2010-12-11 22:30:18 +01:00
|
|
|
<!-- Control panel event subscribers -->
|
2011-01-22 13:34:49 +01:00
|
|
|
<!-- Disable the control panel event subscribers since we need
|
|
|
|
plone.app.controlpanel > 2.1b1 in order to make sure that the proper
|
|
|
|
events are fired when the workflow for discussion items is changed in
|
|
|
|
the types control panel. Though, Plone 3 and 4.0 ship with an older
|
|
|
|
version of p.a.controlpanel that do not fire this event properly.
|
|
|
|
http://dev.plone.org/plone/changeset/46270/plone.app.controlpanel/trunk
|
2010-12-11 18:18:14 +01:00
|
|
|
<subscriber
|
|
|
|
for="plone.app.controlpanel.interfaces.IConfigurationChangedEvent"
|
|
|
|
handler=".browser.controlpanel.notify_configuration_changed"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<subscriber
|
|
|
|
for="plone.registry.interfaces.IRecordModifiedEvent"
|
|
|
|
handler=".browser.controlpanel.notify_configuration_changed"
|
2010-12-16 00:52:56 +01:00
|
|
|
/>
|
2011-01-22 13:34:49 +01:00
|
|
|
-->
|
|
|
|
|
2010-01-27 13:28:47 +01:00
|
|
|
</configure>
|