1 | <configure |
---|
2 | xmlns="http://namespaces.zope.org/zope" |
---|
3 | xmlns:browser="http://namespaces.zope.org/browser" |
---|
4 | i18n_domain="waeup.plonetheme"> |
---|
5 | |
---|
6 | <!-- 'WAeUP Plone Theme' Zope 3 browser layer |
---|
7 | Register views, viewlets and resources for this layer to make sure |
---|
8 | they only apply to the 'WAeUP Plone Theme' theme. |
---|
9 | You can also use this layer to override default Plone browser views |
---|
10 | and viewlets only within the 'WAeUP Plone Theme' theme. |
---|
11 | --> |
---|
12 | <interface |
---|
13 | interface=".interfaces.IThemeSpecific" |
---|
14 | type="zope.publisher.interfaces.browser.IBrowserSkinType" |
---|
15 | name="WAeUP Plone Theme" |
---|
16 | /> |
---|
17 | |
---|
18 | <!-- Viewlets registration --> |
---|
19 | <!-- EXAMPLE (UNCOMMENT TO MAKE AVAILABLE): |
---|
20 | <browser:viewlet |
---|
21 | name="waeup.someviewlet" |
---|
22 | manager="plone.app.layout.viewlets.interfaces.IPortalFooter" |
---|
23 | class=".viewlets.MyViewlet" |
---|
24 | layer=".interfaces.IThemeSpecific" |
---|
25 | permission="zope2.View" |
---|
26 | /> |
---|
27 | --> |
---|
28 | |
---|
29 | <!-- The portal header --> |
---|
30 | <browser:viewlet |
---|
31 | name="waeup.fotobanner" |
---|
32 | manager="plone.app.layout.viewlets.interfaces.IPortalHeader" |
---|
33 | template="templates/foto_banner.pt" |
---|
34 | permission="zope2.View" |
---|
35 | /> |
---|
36 | |
---|
37 | <!-- Footer --> |
---|
38 | <browser:viewlet |
---|
39 | name="plone.footer" |
---|
40 | for="*" |
---|
41 | manager="plone.app.layout.viewlets.interfaces.IPortalFooter" |
---|
42 | layer=".interfaces.IThemeSpecific" |
---|
43 | class=".viewlets.WAeUPFooterViewlet" |
---|
44 | permission="zope.Public" |
---|
45 | /> |
---|
46 | |
---|
47 | <!-- Zope 3 browser resources --> |
---|
48 | |
---|
49 | <!-- Resource directory for images |
---|
50 | See waeup/plonetheme/browser/images/README.txt |
---|
51 | for more information about registering images as Zope 3 browser |
---|
52 | resources. |
---|
53 | --> |
---|
54 | <browser:resourceDirectory |
---|
55 | name="waeup.plonetheme.images" |
---|
56 | directory="images" |
---|
57 | layer=".interfaces.IThemeSpecific" |
---|
58 | /> |
---|
59 | |
---|
60 | <!-- Resource directory for stylesheets |
---|
61 | See waeup/plonetheme/browser/stylesheets/README.txt |
---|
62 | for more information about registering stylesheets as Zope 3 browser |
---|
63 | resources. |
---|
64 | --> |
---|
65 | <browser:resourceDirectory |
---|
66 | name="waeup.plonetheme.stylesheets" |
---|
67 | directory="stylesheets" |
---|
68 | layer=".interfaces.IThemeSpecific" |
---|
69 | /> |
---|
70 | |
---|
71 | </configure> |
---|