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.
themis.search/themis/search/configure.zcml

44 lines
1.2 KiB
XML

<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
xmlns:grok="http://namespaces.zope.org/grok"
xmlns:i18n="http://namespaces.zope.org/i18n"
xmlns:browser="http://namespaces.zope.org/browser"
i18n_domain="themis.search">
<!-- Include z3c.form as dependency -->
<include package="plone.app.z3cform" />
<i18n:registerTranslations directory="locales" />
<!-- Grok the package to initialise schema interfaces and content classes -->
<grok:grok package="." />
<browser:page
for="Products.CMFPlone.interfaces.IPloneSiteRoot"
name="mailsearch"
class=".mail.SearchView"
permission="zope2.View"
template="mail.pt"/>
<browser:page
for="Products.CMFPlone.interfaces.IPloneSiteRoot"
name="docsearch"
class=".doc.SearchView"
permission="zope2.View"
template="doc.pt"/>
<!-- Register an extension profile to make the product installable -->
<genericsetup:registerProfile
name="default"
title="Themis Search"
description="..."
directory="profiles/default"
provides="Products.GenericSetup.interfaces.EXTENSION"
/>
</configure>