source: products/quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/configure.zcml @ 1197

Last change on this file since 1197 was 1197, checked in by piv, 15 years ago

basically implement content tabs functionality, add show_icons setting

File size: 1.4 KB
Line 
1<configure
2    xmlns="http://namespaces.zope.org/zope"
3    xmlns:browser="http://namespaces.zope.org/browser"
4    i18n_domain="quintagroup.dropdownmenu">
5
6
7  <include package="plone.browserlayer" />
8
9  <browser:viewlet
10      name="plone.global_sections"
11      manager="plone.app.layout.viewlets.interfaces.IPortalHeader"
12      class=".viewlets.GlobalSectionsViewlet"
13      layer="..interfaces.IDropDownMenuLayer"
14      permission="zope2.View"
15      />
16
17  <browser:page
18      name="dropdownmenu-settings"
19      for="Products.CMFPlone.interfaces.IPloneSiteRoot"
20      class=".controlpanel.DropDownMenuSettingsControlPanel"
21      permission="cmf.ManagePortal"
22      />
23
24  <class class=".menu.DropDownMenuQueryBuilder">
25    <allow interface="plone.app.layout.navigation.interfaces.INavigationQueryBuilder" />
26  </class>
27
28  <class class=".menu.DropDownMenuStrategy">
29        <allow interface="plone.app.layout.navigation.interfaces.INavtreeStrategy" />
30  </class>
31
32  <adapter
33      for="* *"
34      factory=".menu.DropDownMenuStrategy"
35      provides="plone.app.layout.navigation.interfaces.INavtreeStrategy" />
36
37  <!-- Returns javascript which makes IE<7 understand hover for all html elements -->
38  <browser:view
39      name="csshover.htc"
40      for="*"
41      class=".css.CSSHoverView"
42      permission="zope2.View"
43      />
44
45  <!-- Register resources -->
46  <browser:resource
47      name="drop_down.css"
48      file="resources/drop_down.css"
49      />
50
51</configure>
Note: See TracBrowser for help on using the repository browser.