source: WAeUP_SRP/trunk/profiles/default/types/Flexible.xml

Last change on this file was 3689, checked in by Henrik Bettermann, 16 years ago

New BASE and EXTENSION profiles

File size: 3.2 KB
Line 
1<?xml version="1.0"?>
2<object name="Flexible" meta_type="CPS Flexible Type Information"
3   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title">portal_type_Flexible_title</property>
5 <property name="description">portal_type_Flexible_description</property>
6 <property name="content_icon">flexible_icon.png</property>
7 <property name="content_meta_type">CPS Document</property>
8 <property name="product">CPSDocument</property>
9 <property name="factory">addCPSDocument</property>
10 <property name="immediate_view">cpsdocument_edit_form</property>
11 <property name="global_allow">True</property>
12 <property name="filter_content_types">True</property>
13 <property name="allowed_content_types"/>
14 <property name="allow_discussion">False</property>
15 <property name="cps_is_searchable">False</property>
16 <property name="cps_proxy_type">document</property>
17 <property name="cps_display_as_document_in_listing">False</property>
18 <property name="schemas">
19  <element value="metadata"/>
20  <element value="common"/>
21  <element value="flexible_content"/>
22 </property>
23 <property name="layouts">
24  <element value="common"/>
25  <element value="flexible_content"/>
26 </property>
27 <property name="layout_clusters">
28  <element value="metadata:metadata"/>
29 </property>
30 <property name="flexible_layouts">
31  <element value="flexible_content:flexible_content"/>
32 </property>
33 <property name="storage_methods"/>
34 <property name="cps_is_portlet">False</property>
35 <alias from="(Default)" to="cpsdocument_view"/>
36 <alias from="view" to="cpsdocument_view"/>
37 <action title="action_view" action_id="view" category="object"
38    condition_expr="" url_expr="string:${object_url}/cpsdocument_view"
39    visible="True">
40  <permission value="View"/>
41 </action>
42 <action title="action_new_content" action_id="new_content" category="object"
43    condition_expr="python:object.getTypeInfo().cps_proxy_type != 'document'"
44    url_expr="string:${object_url}/folder_factories" visible="True">
45  <permission value="Modify portal content"/>
46 </action>
47 <action title="action_folder_contents" action_id="contents" category="object"
48    condition_expr="python:object.getTypeInfo().cps_proxy_type != 'document'"
49    url_expr="string:${object_url}/folder_contents" visible="True">
50  <permission value="Modify portal content"/>
51 </action>
52 <action title="action_edit" action_id="edit" category="object"
53    condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
54    visible="True">
55  <permission value="Modify portal content"/>
56 </action>
57 <action title="action_metadata" action_id="metadata" category="object"
58    condition_expr="not:portal/portal_membership/isAnonymousUser"
59    url_expr="string:${object_url}/cpsdocument_metadata" visible="True">
60  <permission value="View"/>
61 </action>
62 <action title="action_local_roles" action_id="localroles" category="object"
63    condition_expr="python:object.getTypeInfo().cps_proxy_type != 'document'"
64    url_expr="string:${object_url}/folder_localrole_form" visible="True">
65  <permission value="Change permissions"/>
66 </action>
67 <action title="action_status_history" action_id="status_history"
68    category="workflow"
69    condition_expr=""
70    url_expr="string:${object_url}/content_status_history" visible="True">
71  <permission value="View status history"/>
72 </action>
73</object>
Note: See TracBrowser for help on using the repository browser.