source: products/quintagroup.quills.extras/branches/no_webresults/quintagroup/quills/extras/browser/overrides.zcml @ 1226

Last change on this file since 1226 was 1226, checked in by mylan, 15 years ago

Fix overriding conflict with quintagroup.plonecomments

File size: 3.3 KB
Line 
1<configure
2    xmlns="http://namespaces.zope.org/zope"
3    xmlns:browser="http://namespaces.zope.org/browser"
4    xmlns:plone="http://namespaces.plone.org/plone"
5    xmlns:zcml="http://namespaces.zope.org/zcml"
6    i18n_domain="quintagroup.quills.extras">
7
8    <browser:page
9        for="quills.core.interfaces.enabled.IWeblogEnhanced"
10        class=".commentViews.ManageCommentsView"
11        template="manage_comments.pt"
12        permission="cmf.ManagePortal"
13        name="manage_comments" />
14
15    <browser:page
16        for="quills.core.interfaces.IPossibleWeblogEntry"
17        class=".weblogview.CustomWeblogEntryView"
18        template="weblogentry_view.pt"
19        permission="zope2.View"
20        name="weblogentry_view"
21        allowed_interface="quills.core.browser.interfaces.IWeblogEntryView"
22        allowed_attributes="day month" />
23
24      <browser:page
25          for="quills.core.interfaces.ITopicContainer"
26          class="quills.app.browser.weblogview.TopicView"
27          allowed_interface="quills.core.interfaces.ITopicContainer"
28          template="topic_listing.pt"
29          permission="zope2.View"
30          name="topic_listing" />
31
32      <browser:page
33          for="quills.core.interfaces.ITopic"
34          template="topic_view.pt"
35          class="quills.app.browser.weblogview.TopicView"
36          allowed_interface="quills.core.browser.interfaces.ITopicView"
37          permission="zope2.View"
38          name="topic_view" />
39
40      <browser:page
41          for="*"
42          name="discussion_reply_redirect"
43          class=".discussionreply.DiscussionReply"
44          permission="zope.Public"
45          allowed_attributes="__call__"
46          />
47
48      <include zcml:condition="installed Products.qPloneComments"
49          package="Products.qPloneComments" file="overrides.zcml" />
50      <browser:viewlet
51          zcml:condition="installed Products.qPloneComments"
52          name="plone.comments"
53          for="Products.CMFCore.interfaces.IContentish"
54          manager="plone.app.layout.viewlets.interfaces.IBelowContent"
55          view="plone.app.layout.globals.interfaces.IViewView"
56          class=".comments.CommentsViewlet"
57          layer="Products.qPloneComments.interfaces.IPloneCommentsLayer"
58          permission="zope2.View"
59          />
60
61      <include zcml:condition="installed quintagroup.plonecomments"
62          package="quintagroup.plonecomments" file="overrides.zcml" />
63
64      <browser:viewlet
65          zcml:condition="installed quintagroup.plonecomments"
66          name="plone.comments"
67          for="Products.CMFCore.interfaces.IContentish"
68          manager="plone.app.layout.viewlets.interfaces.IBelowContent"
69          view="plone.app.layout.globals.interfaces.IViewView"
70          class=".comments.CommentsViewlet"
71          layer=".interfaces.IQuillsExtrasLayer"
72          permission="zope2.View"
73          />
74
75    <!-- metal macros -->
76    <browser:page
77        for="*"
78        name="quills_header_macros"
79        class=".macros.HeaderMacros"
80        permission="zope2.View"
81    />
82
83    <browser:page
84        for="*"
85        name="quills_entry_macros"
86        class=".macros.WeblogEntryMacros"
87        permission="zope2.View"
88    />
89
90    <browser:page
91        for="*"
92        name="quills_weblog_macros"
93        class=".macros.WeblogMacros"
94        permission="zope2.View"
95    />
96
97</configure>
Note: See TracBrowser for help on using the repository browser.