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

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

Registra tile related

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