1 | <configure |
---|
2 | xmlns="http://namespaces.zope.org/zope" |
---|
3 | xmlns:browser="http://namespaces.zope.org/browser" |
---|
4 | i18n_domain="quintagroup.seoptimizer"> |
---|
5 | |
---|
6 | <browser:page |
---|
7 | for="Products.Archetypes.interfaces.IBaseObject" |
---|
8 | attribute="validateKeywords" |
---|
9 | class=".keywords.ValidateSEOKeywordsView" |
---|
10 | name="checkSEOKeywords" |
---|
11 | permission="cmf.ModifyPortalContent" |
---|
12 | /> |
---|
13 | |
---|
14 | |
---|
15 | <!-- MOVED from overrides.zcml : |
---|
16 | BECAUSE all views, viewlets registered for |
---|
17 | own, .interfaces.IPloneSEOLayer layer --> |
---|
18 | |
---|
19 | <!-- Registries for configlet --> |
---|
20 | <adapter factory=".seo_configlet.SEOConfigletAdapter" /> |
---|
21 | |
---|
22 | <browser:page |
---|
23 | name="seo-controlpanel" |
---|
24 | for="Products.CMFPlone.interfaces.IPloneSiteRoot" |
---|
25 | class=".seo_configlet.SEOConfiglet" |
---|
26 | layer=".interfaces.IPloneSEOLayer" |
---|
27 | permission="cmf.ManagePortal" |
---|
28 | /> |
---|
29 | |
---|
30 | <!-- The customized title --> |
---|
31 | <browser:viewlet |
---|
32 | name="plone.htmlhead.title" |
---|
33 | manager="plone.app.layout.viewlets.interfaces.IHtmlHead" |
---|
34 | class=".viewlets.TitleCommentViewlet" |
---|
35 | layer=".interfaces.IPloneSEOLayer" |
---|
36 | permission="zope2.View" |
---|
37 | /> |
---|
38 | |
---|
39 | <browser:viewlet |
---|
40 | name="quintagroup.seoptimizer.canonicalurl" |
---|
41 | manager="plone.app.layout.viewlets.interfaces.IHtmlHead" |
---|
42 | class=".viewlets.CanonicalUrlViewlet" |
---|
43 | layer=".interfaces.IPloneSEOLayer" |
---|
44 | permission="zope2.View" |
---|
45 | /> |
---|
46 | |
---|
47 | <browser:viewlet |
---|
48 | name="quintagroup.seoptimizer.customscript" |
---|
49 | manager="plone.app.layout.viewlets.interfaces.IHtmlHead" |
---|
50 | class=".viewlets.CustomScriptViewlet" |
---|
51 | layer=".interfaces.IPloneSEOLayer" |
---|
52 | permission="zope2.View" |
---|
53 | /> |
---|
54 | |
---|
55 | <browser:viewlet |
---|
56 | name="quintagroup.seoptimizer.seotags" |
---|
57 | manager="plone.app.layout.viewlets.interfaces.IHtmlHead" |
---|
58 | class=".viewlets.SEOTagsViewlet" |
---|
59 | layer=".interfaces.IPloneSEOLayer" |
---|
60 | permission="zope2.View" |
---|
61 | /> |
---|
62 | |
---|
63 | <!--Views--> |
---|
64 | |
---|
65 | <browser:page |
---|
66 | name="seo_context" |
---|
67 | for="*" |
---|
68 | class=".views.SEOContext" |
---|
69 | layer=".interfaces.IPloneSEOLayer" |
---|
70 | permission="zope2.View" |
---|
71 | /> |
---|
72 | |
---|
73 | <browser:page |
---|
74 | name="seo-context-properties" |
---|
75 | for="*" |
---|
76 | class=".views.SEOContextPropertiesView" |
---|
77 | layer=".interfaces.IPloneSEOLayer" |
---|
78 | permission="zope2.View" |
---|
79 | /> |
---|
80 | |
---|
81 | <browser:page |
---|
82 | name="seotab-visibility" |
---|
83 | for="*" |
---|
84 | class=".views.VisibilityCheckerView" |
---|
85 | attribute="checkVisibilitySEOAction" |
---|
86 | layer=".interfaces.IPloneSEOLayer" |
---|
87 | permission="cmf.ManagePortal" |
---|
88 | /> |
---|
89 | |
---|
90 | <browser:resource |
---|
91 | file="./seo_custommetatags.js" |
---|
92 | name="seo_custommetatags.js" |
---|
93 | /> |
---|
94 | |
---|
95 | <browser:resource |
---|
96 | file="seo_icon.gif" |
---|
97 | name="seo_icon.gif" |
---|
98 | /> |
---|
99 | |
---|
100 | </configure> |
---|