/
Collection.xml
54 lines (48 loc) · 2.17 KB
/
Collection.xml
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
<?xml version="1.0"?>
<object name="Collection"
meta_type="Dexterity FTI"
i18n:domain="plone" xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<!-- Basic metadata -->
<property name="title" i18n:translate="">Collection</property>
<property name="description"
i18n:translate="">Collection</property>
<property name="global_allow">True</property>
<property name="filter_content_types">False</property>
<property name="allowed_content_types" />
<property name="allow_discussion">False</property>
<property name="klass">plone.app.contenttypes.content.Collection</property>
<property name="add_permission">plone.app.contenttypes.addCollection</property>
<property name="behaviors">
<element value="plone.app.content.interfaces.INameFromTitle"/>
<element value="plone.app.contenttypes.behaviors.collection.ICollection"/>
<element value="plone.app.dexterity.behaviors.discussion.IAllowDiscussion"/>
<element value="plone.app.dexterity.behaviors.exclfromnav.IExcludeFromNavigation"/>
<element value="plone.app.dexterity.behaviors.metadata.IDublinCore"/>
<element value="plone.app.contenttypes.behaviors.richtext.IRichText"/>
<element value="plone.app.relationfield.behavior.IRelatedItems"/>
</property>
<!-- View information -->
<property name="default_view">standard_view</property>
<property name="default_view_fallback">False</property>
<property name="view_methods">
<element value="standard_view" />
<element value="summary_view" />
<element value="all_content" />
<element value="tabular_view" />
<element value="thumbnail_view" />
</property>
<!-- Method aliases -->
<alias from="(Default)" to="(selected layout)"/>
<alias from="edit" to="@@edit"/>
<alias from="sharing" to="@@sharing"/>
<alias from="view" to="@@view" />
<!-- Actions -->
<action title="View" action_id="view" category="object" condition_expr=""
url_expr="string:${object_url}" visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
url_expr="string:${object_url}/edit" visible="True">
<permission value="Modify portal content"/>
</action>
</object>