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.documents/tabellio/documents/configure.zcml

42 lines
1.4 KiB
XML

<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:grok="http://namespaces.zope.org/grok"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:plone="http://namespaces.plone.org/plone"
xmlns:i18n="http://namespaces.zope.org/i18n"
i18n_domain="tabellio.documents">
<!-- Grok the package to initialise schema interfaces and content classes -->
<grok:grok package="." />
<i18n:registerTranslations directory="locales" />
<plone:behavior
title="Document SearchableText indexer behavior"
description="Enables the dynamic SearchableText indexer for Documents"
provides="tabellio.documents.indexer.IDocumentIndexer"
for="plone.dexterity.interfaces.IDexterityContent"
/>
<plone:behavior
title="Authors SearchableText indexer behavior"
description="Enables the dynamic SearchableText indexer for Authors fields"
provides="tabellio.documents.indexer.IAuthorsIndexer"
for="plone.dexterity.interfaces.IDexterityContent"
/>
<!-- Register an extension profile to make the product installable -->
<genericsetup:registerProfile
name="default"
title="Tabellio Documents Support"
description="..."
directory="profiles/default"
provides="Products.GenericSetup.interfaces.EXTENSION"
/>
<adapter factory=".dossier.HistoLineFieldWidget"/>
</configure>