df009a9ea60d82b308eb5f85e4839ace078a7f1c
[Plinn.git] / profiles / default / types / Plinn_Folder.xml
1 <?xml version="1.0"?>
2 <object name="Plinn Folder" meta_type="Factory-based Type Information"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title">Folder</property>
5 <property
6 name="description">Container to put content in categories.</property>
7 <property name="content_icon">folder_icon.gif</property>
8 <property name="content_meta_type">Plinn Folder</property>
9 <property name="product"></property>
10 <property name="factory">plinn.folder.normal</property>
11 <property name="immediate_view">object/folderContents</property>
12 <property name="global_allow">True</property>
13 <property name="filter_content_types">True</property>
14 <property name="allowed_content_types">
15 <element value="Calendar"/>
16 <element value="Document"/>
17 <element value="File"/>
18 <element value="News Item"/>
19 <element value="Plinn Document"/>
20 <element value="Plinn Folder"/>
21 <element value="Portfolio"/>
22 <element value="Topic"/>
23 </property>
24 <property name="allow_discussion">False</property>
25 <alias from="(Default)" to="plinn_folder_view"/>
26 <alias from="mkdir" to="createPlinnFolder"/>
27 <alias from="view" to="folder_contents"/>
28 <action title="View" action_id="view" category="object" condition_expr=""
29 url_expr="string:${object_url}/folder_contents" visible="False">
30 <permission value="View"/>
31 </action>
32 <action title="List" action_id="folderContents" category="object"
33 condition_expr="" url_expr="string:${object_url}/folder_contents"
34 visible="True">
35 <permission value="List folder contents"/>
36 </action>
37 <action title="Edit" action_id="edit" category="object" condition_expr=""
38 url_expr="string:${object_url}/folder_contents" visible="False">
39 <permission value="Manage properties"/>
40 </action>
41 <action title="Import" action_id="import" category="object" condition_expr=""
42 url_expr="string:${object_url}/massupload" visible="True">
43 <permission value="Add portal content"/>
44 </action>
45 <action title="Share" action_id="localroles" category="object"
46 condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
47 visible="True">
48 <permission value="Set Local Roles"/>
49 </action>
50 <action title="Notifications" action_id="folder_notifications"
51 category="object" condition_expr=""
52 url_expr="string:${object_url}/folder_notifications_form" visible="True">
53 <permission value="Subscribe Notification"/>
54 </action>
55 <action title="History" action_id="changes" category="object"
56 condition_expr="" url_expr="string:${object_url}/changes_history"
57 visible="True">
58 <permission value="View History"/>
59 </action>
60 <action title="New..." action_id="new" category="object" condition_expr=""
61 url_expr="string:${object_url}/folder_factories" visible="False">
62 <permission value="Add portal content"/>
63 </action>
64 <action title="Rename items" action_id="rename_items" category="object"
65 condition_expr="" url_expr="string:${object_url}/folder_rename_form"
66 visible="False">
67 <permission value="Add portal content"/>
68 </action>
69 </object>