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:
parent
c8bc60e967
commit
649e41fcd5
@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
<!-- Comments viewlet -->
|
<!-- Comments viewlet -->
|
||||||
<browser:viewlet
|
<browser:viewlet
|
||||||
name="plone.app.discussion.comments"
|
name="plone.comments"
|
||||||
for="Products.CMFCore.interfaces.IContentish"
|
for="Products.CMFCore.interfaces.IContentish"
|
||||||
layer="..interfaces.IDiscussionLayer"
|
layer="..interfaces.IDiscussionLayer"
|
||||||
manager="plone.app.layout.viewlets.interfaces.IBelowContent"
|
manager="plone.app.layout.viewlets.interfaces.IBelowContent"
|
||||||
|
@ -198,6 +198,10 @@ class ICommentingTool(Interface):
|
|||||||
"""Perform a search over all indexed comments.
|
"""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.
|
"""Request marker installed via browserlayer.xml.
|
||||||
"""
|
"""
|
||||||
|
@ -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>
|
|
Loading…
Reference in New Issue
Block a user