c33863b2c2dd23cecdfbc09d2ca894b9572d7c22
[Plinn.git] / profiles / photo / types / Plinn_Folder.xml
1 <?xml version="1.0"?>
2 <object name="Huge 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="icon_expr">string:${portal_url}/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="add_view_expr"></property>
12 <property name="link_target"></property>
13 <property name="immediate_view">object/folderContents</property>
14 <property name="global_allow">True</property>
15 <property name="filter_content_types">True</property>
16 <property name="allowed_content_types">
17 <element value="Calendar"/>
18 <element value="Document"/>
19 <element value="File"/>
20 <element value="News Item"/>
21 <element value="Plinn Document"/>
22 <element value="Huge Plinn Folder"/>
23 <element value="Portfolio"/>
24 <element value="Topic"/>
25 </property>
26 <property name="allow_discussion">False</property>
27 <alias from="(Default)" to="plinn_folder_view"/>
28 <alias from="mkdir" to="createPlinnFolder"/>
29 <alias from="view" to="folder_contents"/>
30 <action title="View" action_id="view" category="object" condition_expr=""
31 icon_expr="" link_target=""
32 url_expr="string:${object_url}/folder_contents" visible="False">
33 <permission value="View"/>
34 </action>
35 <action title="List" action_id="folderContents" category="object"
36 condition_expr="" icon_expr="" link_target=""
37 url_expr="string:${object_url}/folder_contents" visible="True">
38 <permission value="List folder contents"/>
39 </action>
40 <action title="Edit" action_id="edit" category="object" condition_expr=""
41 icon_expr="" link_target=""
42 url_expr="string:${object_url}/folder_contents" visible="False">
43 <permission value="Manage properties"/>
44 </action>
45 <action title="Share" action_id="localroles" category="object"
46 condition_expr="" icon_expr="" link_target=""
47 url_expr="string:${object_url}/folder_localrole_form" visible="True">
48 <permission value="Set Local Roles"/>
49 </action>
50 <action title="New..." action_id="new" category="object" condition_expr=""
51 icon_expr="" link_target=""
52 url_expr="string:${object_url}/folder_factories" visible="False">
53 <permission value="Add portal content"/>
54 </action>
55 <action title="Rename items" action_id="rename_items" category="object"
56 condition_expr="" icon_expr="" link_target=""
57 url_expr="string:${object_url}/folder_rename_form" visible="False">
58 <permission value="Add portal content"/>
59 </action>
60 </object>