source: main/waeup.ngrentheme/trunk/waeup/ngrentheme/browser/configure.zcml @ 10068

Last change on this file since 10068 was 10068, checked in by Henrik Bettermann, 11 years ago

Move social likes viewlet.

File size: 2.2 KB
Line 
1<configure
2    xmlns="http://namespaces.zope.org/zope"
3    xmlns:browser="http://namespaces.zope.org/browser"
4    i18n_domain="waeup.ngrentheme">
5
6  <!-- 'WAeUP ngREN Theme' Zope 3 browser layer
7    Register views, viewlets and resources for this layer to make sure
8    they only apply to the 'WAeUP ngREN Theme' theme.
9    You can also use this layer to override default Plone browser views
10    and viewlets only within the 'WAeUP ngREN Theme' theme.
11  -->
12  <interface
13      interface=".interfaces.IThemeSpecific"
14      type="zope.publisher.interfaces.browser.IBrowserSkinType"
15      name="WAeUP ngREN 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
31       
32  <!-- Footer -->
33  <browser:viewlet
34      name="plone.footer"
35      for="*"
36      manager="plone.app.layout.viewlets.interfaces.IPortalFooter"
37      layer=".interfaces.IThemeSpecific"
38      class=".viewlets.WAeUPFooterViewlet"
39      permission="zope.Public"
40      />   
41
42<!-- The portal content -->
43
44    <browser:viewlet
45        name="sc.social.likes"
46        manager="plone.app.layout.viewlets.interfaces.IBelowContent"
47        class="sc.social.like.browser.viewlets.SocialLikesViewlet"
48        layer="sc.social.like.interfaces.ISocialLikeLayer"
49        permission="zope.Public"
50        />
51
52  <!-- Zope 3 browser resources -->
53
54  <!-- Resource directory for images
55    See waeup/ngrentheme/browser/images/README.txt
56    for more information about registering images as Zope 3 browser
57    resources.
58  -->
59  <browser:resourceDirectory
60      name="waeup.ngrentheme.images"
61      directory="images"
62      layer=".interfaces.IThemeSpecific"
63      />
64
65  <!-- Resource directory for stylesheets
66    See waeup/ngrentheme/browser/stylesheets/README.txt
67    for more information about registering stylesheets as Zope 3 browser
68    resources.
69  -->
70  <browser:resourceDirectory
71      name="waeup.ngrentheme.stylesheets"
72      directory="stylesheets"
73      layer=".interfaces.IThemeSpecific"
74      />
75
76</configure>
Note: See TracBrowser for help on using the repository browser.