44 lines
1.2 KiB
XML
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>
|