source: products/quintagroup.plonecaptchas/branches/plone4/quintagroup/plonecaptchas/configure.zcml @ 2505

Last change on this file since 2505 was 2505, checked in by mylan, 14 years ago

#194: Fix configuration conflict error on including quintagroup.formlib.captcha zcml slug.

File size: 1.8 KB
Line 
1<configure
2    xmlns="http://namespaces.zope.org/zope"
3    xmlns:five="http://namespaces.zope.org/five"
4    xmlns:i18n="http://namespaces.zope.org/i18n"
5    xmlns:cmf="http://namespaces.zope.org/cmf"
6    xmlns:gs="http://namespaces.zope.org/genericsetup"
7    i18n_domain="quintagroup.plonecaptchas">
8
9    <!-- include dependent packages -->
10    <include package="quintagroup.captcha.core" />
11    <!-- can't included quintagroup.formlib.captcha
12         because of ConfigurationConflictError. -->
13
14    <five:registerPackage package="." initialize=".initialize" />
15
16    <!-- include packages -->
17    <include package=".browser" />
18
19    <!-- File System Directory Views registration -->
20    <cmf:registerDirectory name="captchas_discussion" />
21    <cmf:registerDirectory name="captchas_sendto_form" />
22    <cmf:registerDirectory name="captchas_contact_info" />
23
24    <gs:registerProfile
25        name="default"
26        title="Plone Captchas"
27        directory="profiles/default"
28        description="This product adds captcha support to Plone."
29        for="Products.CMFPlone.interfaces.IPloneSiteRoot"
30        provides="Products.GenericSetup.interfaces.EXTENSION"
31        />
32
33    <gs:registerProfile
34        name="register_form"
35        title="Plone Captchas Register Forms for Plone 4"
36        directory="profiles/register_form"
37        description="This profile adds captcha protection of Register Form in Plone 4."
38        for="Products.CMFPlone.interfaces.IPloneSiteRoot"
39        provides="Products.GenericSetup.interfaces.EXTENSION"
40        />
41
42    <gs:registerProfile
43        name="uninstall"
44        title="Uninstall Plone Captchas"
45        directory="profiles/uninstall"
46        description="Uninstall Plone Captchas product."
47        for="Products.CMFPlone.interfaces.IPloneSiteRoot"
48        provides="Products.GenericSetup.interfaces.EXTENSION"
49        />
50
51</configure>
Note: See TracBrowser for help on using the repository browser.