1 | <configure |
---|
2 | xmlns="http://namespaces.zope.org/zope" |
---|
3 | xmlns:five="http://namespaces.zope.org/five" |
---|
4 | xmlns:browser="http://namespaces.zope.org/browser" |
---|
5 | xmlns:genericsetup="http://namespaces.zope.org/genericsetup" |
---|
6 | xmlns:cmf="http://namespaces.zope.org/cmf" |
---|
7 | xmlns:i18n="http://namespaces.zope.org/i18n" |
---|
8 | i18n_domain="quintagroup.seoptimizer"> |
---|
9 | |
---|
10 | |
---|
11 | <five:registerPackage package="." /> |
---|
12 | <i18n:registerTranslations directory="locales" /> |
---|
13 | |
---|
14 | <genericsetup:registerProfile |
---|
15 | name="default" |
---|
16 | title="quintagroup.seoptimizer" |
---|
17 | directory="profiles/default" |
---|
18 | description="Install quintagroup.seoptimizer" |
---|
19 | provides="Products.GenericSetup.interfaces.EXTENSION" |
---|
20 | /> |
---|
21 | |
---|
22 | <genericsetup:registerProfile |
---|
23 | name="uninstall" |
---|
24 | title="quintagroup.seoptimizer uninstall" |
---|
25 | directory="profiles/uninstall" |
---|
26 | description="Uninstall quintagroup.seoptimizer" |
---|
27 | provides="Products.GenericSetup.interfaces.EXTENSION" |
---|
28 | /> |
---|
29 | |
---|
30 | <browser:page |
---|
31 | for="Products.Archetypes.interfaces.IBaseObject" |
---|
32 | attribute="validateKeywords" |
---|
33 | class=".browser.keywords.ValidateSEOKeywordsView" |
---|
34 | name="checkSEOKeywords" |
---|
35 | permission="cmf.ModifyPortalContent" |
---|
36 | /> |
---|
37 | |
---|
38 | <adapter |
---|
39 | for="Products.Archetypes.public.BaseObject" |
---|
40 | provides=".interfaces.IKeywords" |
---|
41 | factory=".adapters.AdditionalKeywords" |
---|
42 | /> |
---|
43 | |
---|
44 | <adapter |
---|
45 | for="Products.Archetypes.public.BaseObject" |
---|
46 | provides=".interfaces.IMappingMetaTags" |
---|
47 | factory=".adapters.MappingMetaTags" |
---|
48 | /> |
---|
49 | |
---|
50 | <cmf:registerDirectory name="quintagroup.seoptimizer" /> |
---|
51 | |
---|
52 | </configure> |
---|