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-26 21:58:33 +02:00
|
|
|
<!-- reply-to-comment view -->
|
|
|
|
<browser:view
|
|
|
|
name="reply-to-comment"
|
|
|
|
for="plone.app.discussion.interfaces.IConversation"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".comments.ReplyToComment"
|
|
|
|
permission="zope2.View"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<!-- Resource directory for javascripts -->
|
|
|
|
<browser:resourceDirectory
|
|
|
|
name="plone.app.discussion.javascripts"
|
|
|
|
directory="javascripts"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<!-- Resource directory for images -->
|
|
|
|
<browser:resourceDirectory
|
|
|
|
name="plone.app.discussion.images"
|
|
|
|
directory="images"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
/>
|
|
|
|
|
2009-05-27 09:25:19 +02:00
|
|
|
<!-- Resource directory for stylesheets -->
|
|
|
|
<browser:resourceDirectory
|
|
|
|
name="plone.app.discussion.stylesheets"
|
|
|
|
directory="stylesheets"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
/>
|
|
|
|
|
2009-05-11 18:52:16 +02:00
|
|
|
</configure>
|