[387] | 1 | <configure |
---|
| 2 | xmlns="http://namespaces.zope.org/zope" |
---|
[1463] | 3 | xmlns:browser="http://namespaces.zope.org/browser" |
---|
| 4 | i18n_domain="quintagroup.seoptimizer"> |
---|
[387] | 5 | |
---|
[392] | 6 | <browser:page |
---|
[1777] | 7 | for="Products.Archetypes.interfaces.IBaseObject" |
---|
| 8 | attribute="validateKeywords" |
---|
| 9 | class=".keywords.ValidateSEOKeywordsView" |
---|
| 10 | name="checkSEOKeywords" |
---|
| 11 | permission="cmf.ModifyPortalContent" |
---|
| 12 | /> |
---|
[392] | 13 | |
---|
[1778] | 14 | |
---|
[1779] | 15 | <!-- MOVED from overrides.zcml : |
---|
| 16 | BECAUSE all views, viewlets registered for |
---|
| 17 | own, .interfaces.IPloneSEOLayer layer --> |
---|
[1778] | 18 | |
---|
[1788] | 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 | |
---|
[1778] | 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 | |
---|
[1779] | 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 | |
---|
[1778] | 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:resource |
---|
| 82 | file="./seo_custommetatags.js" |
---|
| 83 | name="seo_custommetatags.js" |
---|
| 84 | /> |
---|
| 85 | |
---|
[1791] | 86 | <browser:resource |
---|
| 87 | file="seo_icon.gif" |
---|
| 88 | name="seo_icon.gif" |
---|
| 89 | /> |
---|
| 90 | |
---|
[387] | 91 | </configure> |
---|