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

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

Registra tile related

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