This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
tabellio.contact/tabellio/contact/configure.zcml

41 lines
1.2 KiB
XML

<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:grok="http://namespaces.zope.org/grok"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
xmlns:five="http://namespaces.zope.org/five"
xmlns:i18n="http://namespaces.zope.org/i18n"
xmlns:browser="http://namespaces.zope.org/browser"
i18n_domain="tabellio.contact">
<!-- Include configuration for dependencies listed in setup.py -->
<includeDependencies package="." />
<!-- Grok the package to initialise schema interfaces and content classes -->
<grok:grok package="." />
<browser:page
for=".form.IContactForm"
name="service"
class=".form.ServiceView"
permission="zope2.View"/>
<i18n:registerTranslations directory="locales" />
<five:registerPackage package="." initialize=".initialize" />
<!-- Register an extension profile to make the product installable -->
<genericsetup:registerProfile
name="default"
title="Tabellio Contact Support"
description="..."
directory="profiles/default"
provides="Products.GenericSetup.interfaces.EXTENSION"
/>
<!-- Captcha validator -->
<adapter
factory=".form.CaptchaValidator"
/>
</configure>