[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 | |
---|
[2139] | 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 | |
---|
[387] | 30 | <!-- The customized title --> |
---|
| 31 | <browser:viewlet |
---|
| 32 | name="plone.htmlhead.title" |
---|
| 33 | manager="plone.app.layout.viewlets.interfaces.IHtmlHead" |
---|
| 34 | class=".viewlets.TitleCommentViewlet" |
---|
[955] | 35 | layer=".interfaces.IPloneSEOLayer" |
---|
[387] | 36 | permission="zope2.View" |
---|
| 37 | /> |
---|
| 38 | |
---|
| 39 | <browser:viewlet |
---|
[896] | 40 | name="quintagroup.seoptimizer.canonicalurl" |
---|
| 41 | manager="plone.app.layout.viewlets.interfaces.IHtmlHead" |
---|
| 42 | class=".viewlets.CanonicalUrlViewlet" |
---|
[955] | 43 | layer=".interfaces.IPloneSEOLayer" |
---|
[896] | 44 | permission="zope2.View" |
---|
| 45 | /> |
---|
| 46 | |
---|
| 47 | <browser:viewlet |
---|
[869] | 48 | name="quintagroup.seoptimizer.customscript" |
---|
| 49 | manager="plone.app.layout.viewlets.interfaces.IHtmlHead" |
---|
| 50 | class=".viewlets.CustomScriptViewlet" |
---|
[955] | 51 | layer=".interfaces.IPloneSEOLayer" |
---|
[869] | 52 | permission="zope2.View" |
---|
| 53 | /> |
---|
| 54 | |
---|
[2139] | 55 | <browser:viewlet |
---|
| 56 | name="quintagroup.seoptimizer.seotags" |
---|
| 57 | manager="plone.app.layout.viewlets.interfaces.IHtmlHead" |
---|
| 58 | class=".viewlets.SEOTagsViewlet" |
---|
[955] | 59 | layer=".interfaces.IPloneSEOLayer" |
---|
[2139] | 60 | permission="zope2.View" |
---|
[392] | 61 | /> |
---|
| 62 | |
---|
[2139] | 63 | <!--Views--> |
---|
| 64 | |
---|
[408] | 65 | <browser:page |
---|
| 66 | name="seo_context" |
---|
| 67 | for="*" |
---|
| 68 | class=".views.SEOContext" |
---|
[955] | 69 | layer=".interfaces.IPloneSEOLayer" |
---|
[408] | 70 | permission="zope2.View" |
---|
| 71 | /> |
---|
| 72 | |
---|
[1460] | 73 | <browser:page |
---|
| 74 | name="seo-context-properties" |
---|
| 75 | for="*" |
---|
| 76 | class=".views.SEOContextPropertiesView" |
---|
| 77 | layer=".interfaces.IPloneSEOLayer" |
---|
| 78 | permission="zope2.View" |
---|
| 79 | /> |
---|
| 80 | |
---|
[2139] | 81 | <browser:page |
---|
| 82 | name="seotab-visibility" |
---|
| 83 | for="*" |
---|
| 84 | class=".views.VisibilityCheckerView" |
---|
| 85 | attribute="checkVisibilitySEOAction" |
---|
| 86 | layer=".interfaces.IPloneSEOLayer" |
---|
[2247] | 87 | permission="zope2.Public" |
---|
[1482] | 88 | /> |
---|
| 89 | |
---|
[2139] | 90 | <browser:resourceDirectory name="quintagroup.seoptimizer" directory="./resources" /> |
---|
[1801] | 91 | |
---|
[387] | 92 | </configure> |
---|