source: products/quintagroup.plonegooglesitemaps/branches/1.7.1/quintagroup/plonegooglesitemaps/browser/configure.zcml @ 3405

Last change on this file since 3405 was 3405, checked in by potar, 8 years ago

fixed deleteVerificationFile(); added method absolute_url to template, new changes to HISTORY.txt

File size: 2.6 KB
Line 
1<configure
2    xmlns="http://namespaces.zope.org/zope"
3    xmlns:browser="http://namespaces.zope.org/browser"
4    i18n_domain="quintagroup.plonegooglesitemaps">
5
6    <!-- -*- extra stuff goes here -*- -->
7
8    <!-- Starting from Plone-4.1 it is necessary to import permissions.zcml from Products.CMFCore.
9         Since older versions of CMFCore didn't have that zcml, we are including whole
10         package and permissions.zcml gets included if available. -->
11    <include package="Products.CMFCore"/>
12
13    <browser:page
14      for="..interfaces.ISitemap"
15      name="sitemap.xml"
16      class=".sitemapview.SitemapView"
17      template="templates/sitemapview.pt"
18      allowed_interface=".commonview.ISitemapView"
19      permission="zope.Public"
20      layer="quintagroup.plonegooglesitemaps.interfaces.IGoogleSitemapsLayer"
21    />
22
23    <browser:page
24      for="..interfaces.ISitemap"
25      name="mobile-sitemap.xml"
26      class=".mobilesitemapview.MobileSitemapView"
27      template="templates/mobilesitemapview.pt"
28      allowed_interface=".commonview.ISitemapView"
29      permission="zope.Public"
30      layer="quintagroup.plonegooglesitemaps.interfaces.IGoogleSitemapsLayer"
31    />
32
33    <browser:page
34      for="..interfaces.ISitemap"
35      name="news-sitemap.xml"
36      class=".newssitemapview.NewsSitemapView"
37      template="templates/newssitemapview.pt"
38      allowed_interface=".commonview.ISitemapView"
39      permission="zope.Public"
40      layer="quintagroup.plonegooglesitemaps.interfaces.IGoogleSitemapsLayer"
41    />
42
43    <browser:page
44      for="*"
45      name="sitemap_settings"
46      class=".configletview.ConfigletSettingsView"
47      allowed_interface=".configletview.IConfigletSettingsView"
48      permission="cmf.ManagePortal"
49      layer="quintagroup.plonegooglesitemaps.interfaces.IGoogleSitemapsLayer"
50    />
51
52    <browser:page
53      for="Products.CMFPlone.interfaces.IPloneSiteRoot"
54      name="deleteGSMVerificationFile"
55      class=".configletview.ConfigletSettingsView"
56      permission="cmf.ManagePortal"
57      attribute="deleteGSMVerificationFile"
58    />
59
60    <browser:resource                                                           
61      name="quintagroup.plonegooglesitemaps.trash.gif"
62      image="images/trash.gif"                                               
63      layer="quintagroup.plonegooglesitemaps.interfaces.IGoogleSitemapsLayer"
64      permission="cmf.ManagePortal"
65    />     
66   
67    <browser:resource
68      name="quintagroup.plonegooglesitemaps.verify_file.css"
69      file="resources/verify_file.css"
70      layer="quintagroup.plonegooglesitemaps.interfaces.IGoogleSitemapsLayer"
71      permission="cmf.ManagePortal"
72    />
73
74</configure>
Note: See TracBrowser for help on using the repository browser.