79b48ac994de575ceac5896bd1c41db1a3f35f1b
[Plinn.git] / profiles / photo / types / Huge_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">Huge 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">Huge Plinn Folder</property>
9 <property name="product"></property>
10 <property name="factory">plinn.folder.huge</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="Huge Plinn Folder"/>
21 <element value="News Item"/>
22 <element value="Plinn Document"/>
23 <element value="Portfolio"/>
24 <element value="Topic"/>
25 </property>
26 <property name="allow_discussion">False</property>
27 <alias from="(Default)" to="folder_contents"/>
28 <alias from="mkdir" to="createHugePlinnFolder"/>
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="Share" action_id="localroles" category="object"
41 condition_expr="" icon_expr="" link_target=""
42 url_expr="string:${object_url}/folder_localrole_form" visible="True">
43 <permission value="Set Local Roles"/>
44 </action>
45 <action title="New..." action_id="new" category="object" condition_expr=""
46 icon_expr="" link_target=""
47 url_expr="string:${object_url}/folder_factories" visible="False">
48 <permission value="Add portal content"/>
49 </action>
50 <action title="Rename items" action_id="rename_items" category="object"
51 condition_expr="" icon_expr="" link_target=""
52 url_expr="string:${object_url}/folder_rename_form" visible="False">
53 <permission value="Add portal content"/>
54 </action>
55 </object>