/
configure.zcml
61 lines (52 loc) · 1.79 KB
/
configure.zcml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:plone="http://namespaces.plone.org/plone"
xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="plone.app.contenttypes">
<include package="plone.behavior" file="meta.zcml"/>
<plone:behavior
title="Lead Image"
description="Adds image and image caption fields"
provides=".leadimage.ILeadImage"
factory=".leadimage.LeadImage"
for="plone.dexterity.interfaces.IDexterityContent"
marker=".leadimage.ILeadImage"
/>
<browser:viewlet
name="contentleadimage"
for=".leadimage.ILeadImage"
class=".viewlets.LeadImageViewlet"
manager="plone.app.layout.viewlets.interfaces.IAboveContentTitle"
template="leadimage.pt"
permission="zope2.View"
/>
<plone:behavior
title="Table of contents"
description="Adds a table of contents"
provides=".tableofcontents.ITableOfContents"
for="plone.dexterity.interfaces.IDexterityContent"
marker=".tableofcontents.ITableOfContents"
/>
<plone:behavior
title="Collection"
description="Adds collection behavior"
provides=".collection.ICollection"
factory=".collection.Collection"
for="plone.dexterity.interfaces.IDexterityContent"
marker=".collection.ISyndicatableCollection"
/>
<plone:behavior
title="RichText"
description="Adds richtext behavior"
provides=".richtext.IRichText"
factory=".richtext.RichText"
for="plone.dexterity.interfaces.IDexterityContent"
marker=".richtext.IRichText"
/>
<utility
component=".collection.MetaDataFieldsVocabularyFactory"
name="plone.app.contenttypes.metadatafields" />
<adapter factory=".collection.CollectionFeed"
for=".collection.ISyndicatableCollection" />
</configure>