2009-05-11 18:52:16 +02:00
|
|
|
<configure
|
|
|
|
xmlns="http://namespaces.zope.org/zope"
|
|
|
|
xmlns:browser="http://namespaces.zope.org/browser"
|
|
|
|
i18n_domain="plone.app.discussion">
|
2009-05-25 20:59:25 +02:00
|
|
|
|
2009-05-23 06:55:06 +02:00
|
|
|
<!-- Traversal adapter -->
|
2009-05-23 13:52:57 +02:00
|
|
|
<adapter factory=".traversal.ConversationNamespace" name="conversation" />
|
2009-05-11 18:52:16 +02:00
|
|
|
|
2009-05-23 06:55:06 +02:00
|
|
|
<!-- Comments viewlet -->
|
|
|
|
<browser:viewlet
|
|
|
|
name="plone.comments"
|
|
|
|
for="Products.CMFCore.interfaces.IContentish"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
view="plone.app.layout.globals.interfaces.IViewView"
|
|
|
|
manager="plone.app.layout.viewlets.interfaces.IBelowContent"
|
|
|
|
template="comments.pt"
|
|
|
|
class=".comments.CommentsViewlet"
|
|
|
|
permission="zope2.View"
|
|
|
|
/>
|
2009-05-11 18:52:16 +02:00
|
|
|
|
2009-05-25 20:59:25 +02:00
|
|
|
<!-- add-comment view -->
|
|
|
|
<browser:view
|
|
|
|
name="add-comment"
|
|
|
|
for="plone.app.discussion.interfaces.IConversation"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".comments.AddComment"
|
|
|
|
permission="zope2.View"
|
|
|
|
/>
|
|
|
|
|
2009-05-11 18:52:16 +02:00
|
|
|
</configure>
|