source: publico/PortalInterlegis/produtos/il.portal.theme/trunk/il/portal/theme/browser/configure.zcml @ 6072

Última Alteração nesse arquivo desde 6072 foi 6072, incluída por lucasaquino, 8 anos atrás

Teste de plone.app.tile

File size: 3.4 KB
Linha 
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    i18n_domain="il.portal.theme">
6
7  <!-- Browser layer registration -->
8
9  <interface
10      interface=".interfaces.IThemeSpecific"
11      type="zope.publisher.interfaces.browser.IBrowserSkinType"
12      name="il_portal_theme"
13      />
14
15  <!--  View Registration -->
16 
17  <browser:page
18      for="*"
19      name="IlPortalView"
20      class=".views.IlPortalView"
21      permission="zope.Public"
22      allowed_interface=".interfaces.IPortalView"
23      />
24     
25  <browser:page
26      for="*"
27      name="paginainicial"
28      class=".paginainicialview.paginainicialView"
29      template="templates/paginainicial.pt"
30      allowed_interface=".paginainicialview.IpaginainicialView"
31      permission="zope.Public"
32      />
33 
34   
35  <!-- Tile-->
36 
37  <plone:tile
38      name="ilportal.tiles.richtext"
39      title="Portal Interlegis rich text tile"
40      description="Rich text"
41      add_permission="cmf.ModifyPortalContent"
42      schema=".tile.IRichTextTileData"
43      class=".tile.RichTextTile"
44      permission="zope2.View"
45      for="*"
46      />
47     
48  <plone:tile
49      name="ilportal.tiles.plaintext"
50      title="Portal Interlegis plain text tile"
51      description="Plain text"
52      add_permission="cmf.ModifyPortalContent"
53      schema=".tile.IPlainTextTileData"
54      class=".tile.PlainTextTile"
55      permission="zope2.View"
56      for="*"
57      />
58
59 
60
61  <!-- Viewlets registration -->
62
63  <!--
64  <browser:viewlet
65      name="il.portal.theme.languageseletor"
66      for="*"
67      manager="plone.app.layout.viewlets.interfaces.IPortalTop"
68      class=".viewlets.LanguageSelector"
69      layer=".interfaces.IThemeSpecific"
70      permission="zope.Public"
71      />
72
73
74  <browser:viewlet
75      name="il.portal.theme.logo"
76      for="*"
77      manager="plone.app.layout.viewlets.interfaces.IPortalHeader"
78      class=".viewlets.LogoViewlet"
79      layer=".interfaces.IThemeSpecific"
80      permission="zope.Public"
81      />
82
83  <browser:viewlet
84      name="il.portal.theme.documentactions"
85      for="*"
86      manager="plone.app.layout.viewlets.interfaces.IBelowContentBody"
87      class=".viewlets.DocumentActionsViewlet"
88      layer=".interfaces.IThemeSpecific"
89      permission="zope.Public"
90      />
91     
92  <browser:viewlet
93      name="il.portal.theme.footer"
94      for="*"
95      manager="plone.app.layout.viewlets.interfaces.IPortalFooter"
96      class=".viewlets.FooterViewlet"
97      layer=".interfaces.IThemeSpecific"
98      permission="zope.Public"
99      />
100  -->
101
102   
103
104  <browser:viewlet
105      name="plone.site_actions"
106      for="*"
107      manager="plone.app.layout.viewlets.interfaces.IPortalFooter"
108      class=".viewlets.SiteActionsViewlet"
109      layer=".interfaces.IThemeSpecific"
110      permission="zope.Public"
111      />
112     
113  <browser:viewlet
114      name="plone.searchbox"
115      for="*"
116      manager="plone.app.layout.viewlets.interfaces.IPortalHeader"
117      class=".viewlets.SearchBoxViewlet"
118      layer=".interfaces.IThemeSpecific"
119      permission="zope.Public"
120      />
121
122
123  <!-- Resource directories registration -->
124
125  <browser:resourceDirectory
126      name="il.portal.theme.images"
127      directory="images"
128      layer=".interfaces.IThemeSpecific"
129      />
130
131  <browser:resourceDirectory
132      name="il.portal.theme.stylesheets"
133      directory="stylesheets"
134      layer=".interfaces.IThemeSpecific"
135      />
136
137</configure>
Note: Veja TracBrowser para ajuda no uso do navegador do trac.
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.