Undo r33270. Make IDiscussionLayer inherit from IDefaultPloneLayer for now, to fix the comment Viewlet in Plone 4.0a3. This can be removed again as soon as Plone 4.0b1 is out. Thanks davisagli!

svn path=/plone.app.discussion/trunk/; revision=33278
This commit is contained in:
Timo Stollenwerk 2010-01-22 17:54:30 +00:00
parent c8bc60e967
commit 649e41fcd5
3 changed files with 7 additions and 10 deletions

View File

@ -55,7 +55,7 @@
<!-- Comments viewlet -->
<browser:viewlet
name="plone.app.discussion.comments"
name="plone.comments"
for="Products.CMFCore.interfaces.IContentish"
layer="..interfaces.IDiscussionLayer"
manager="plone.app.layout.viewlets.interfaces.IBelowContent"

View File

@ -198,6 +198,10 @@ class ICommentingTool(Interface):
"""Perform a search over all indexed comments.
"""
class IDiscussionLayer(Interface):
#class IDiscussionLayer(Interface):
# XXX: This is only temporarily. IDefaultPloneLayer can be removed again as soon
# as Plone 4.0b1 with plone.theme 2.0b1 is out. [davisagli]
from plone.theme.interfaces import IDefaultPloneLayer
class IDiscussionLayer(IDefaultPloneLayer):
"""Request marker installed via browserlayer.xml.
"""

View File

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