rename plone.comments Viewlet to plone.app.discussion.comments and hide the standard plone.comments Viewlet. This is necessary because overriding plone.comments is not working anymore in Plone 4.0a3. This should be fixed properly in the future.

svn path=/plone.app.discussion/trunk/; revision=33270
This commit is contained in:
Timo Stollenwerk 2010-01-22 12:08:30 +00:00
parent 7dda99a62a
commit 5ff91da15d
2 changed files with 9 additions and 2 deletions

View File

@ -55,11 +55,11 @@
<!-- Comments viewlet -->
<browser:viewlet
name="plone.comments"
name="plone.app.discussion.comments"
for="Products.CMFCore.interfaces.IContentish"
layer="..interfaces.IDiscussionLayer"
view="plone.app.layout.globals.interfaces.IViewView"
manager="plone.app.layout.viewlets.interfaces.IBelowContent"
view="plone.app.layout.globals.interfaces.IViewView"
class=".comments.CommentsViewlet"
permission="zope2.View"
/>

View File

@ -0,0 +1,7 @@
<?xml version="1.0"?>
<object>
<!-- hide standard plone comments viewlet -->
<hidden manager="plone.belowcontent" skinname="Plone Default">
<viewlet name="plone.comments"/>
</hidden>
</object>