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

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

Registra ecmascript browser resource (TODO: prefer plone.resource)

File size: 2.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  <!--  Views -->
18
19  <browser:page
20      for="*"
21      name="ILPortalView"
22      class=".views.ILPortalView"
23      permission="zope.Public"
24      allowed_interface=".interfaces.IILPortalView"
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  <!-- Tiles -->
37
38  <plone:tile
39      name="ilportal.tiles.richtext"
40      title="Portal Interlegis rich text tile"
41      description="Rich text"
42      add_permission="cmf.ModifyPortalContent"
43      schema=".tile.IRichTextTileData"
44      class=".tile.RichTextTile"
45      permission="zope2.View"
46      for="*"
47      />
48
49  <plone:tile
50      name="ilportal.tiles.plaintext"
51      title="Portal Interlegis plain text tile"
52      description="Plain text"
53      add_permission="cmf.ModifyPortalContent"
54      schema=".tile.IPlainTextTileData"
55      class=".tile.PlainTextTile"
56      permission="zope2.View"
57      for="*"
58      />
59
60  <plone:tile
61      name="ilportal.tiles.relateditens"
62      title="Portal Interlegis related items tile"
63      description="Itens relacionados"
64      add_permission="cmf.ModifyPortalContent"
65      schema=".tile.IRelatedItensTileData"
66      class=".tile.RelatedItensTile"
67      permission="zope2.View"
68      for="*"
69      />
70
71  <!-- Viewlets registration -->
72
73  <browser:viewlet
74      name="plone.site_actions"
75      for="*"
76      manager="plone.app.layout.viewlets.interfaces.IPortalFooter"
77      class=".viewlets.SiteActionsViewlet"
78      layer=".interfaces.IThemeSpecific"
79      permission="zope.Public"
80      />
81
82  <browser:viewlet
83      name="plone.searchbox"
84      for="*"
85      manager="plone.app.layout.viewlets.interfaces.IPortalHeader"
86      class=".viewlets.SearchBoxViewlet"
87      layer=".interfaces.IThemeSpecific"
88      permission="zope.Public"
89      />
90
91  <!-- Resource directories registration -->
92
93  <browser:resourceDirectory
94      name="il.portal.theme.images"
95      directory="images"
96      layer=".interfaces.IThemeSpecific"
97      />
98
99  <browser:resourceDirectory
100      name="il.portal.theme.stylesheets"
101      directory="stylesheets"
102      layer=".interfaces.IThemeSpecific"
103      />
104
105  <browser:resourceDirectory
106      name="il.portal.theme.ecmascripts"
107      directory="ecmascripts"
108      layer=".interfaces.IThemeSpecific"
109      />
110
111</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.