source: WAeUP_SRP/trunk/profiles/default/types/Page.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="Page" meta_type="CPS Flexible Type Information"
3   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title">portal_type_Page_title</property>
5 <property name="description">portal_type_Page_description</property>
6 <property name="content_icon">page_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="page"/>
25  <element value="common"/>
26  <element value="flexible_content"/>
27 </property>
28 <property name="layout_clusters">
29  <element value="metadata:metadata"/>
30 </property>
31 <property name="flexible_layouts">
32  <element value="flexible_content:flexible_content"/>
33 </property>
34 <property name="storage_methods"/>
35 <property name="cps_is_portlet">False</property>
36 <alias from="(Default)" to="page_view"/>
37 <alias from="view" to="page_view"/>
38 <action title="action_view" action_id="view" category="object"
39    condition_expr="" url_expr="string:${object_url}/page_view"
40    visible="True">
41  <permission value="View"/>
42 </action>
43 <action title="action_new_content" action_id="new_content" category="object"
44    condition_expr="python:object.getTypeInfo().cps_proxy_type != 'document'"
45    url_expr="string:${object_url}/folder_factories" visible="True">
46  <permission value="Modify portal content"/>
47 </action>
48 <action title="action_folder_contents" action_id="contents" category="object"
49    condition_expr="python:object.getTypeInfo().cps_proxy_type != 'document'"
50    url_expr="string:${object_url}/folder_contents" visible="True">
51  <permission value="Modify portal content"/>
52 </action>
53 <action title="action_edit" action_id="edit" category="object"
54    condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
55    visible="True">
56  <permission value="Modify portal content"/>
57 </action>
58 <action title="action_metadata" action_id="metadata" category="object"
59    condition_expr="not:portal/portal_membership/isAnonymousUser"
60    url_expr="string:${object_url}/cpsdocument_metadata" visible="True">
61  <permission value="View"/>
62 </action>
63 <action title="action_local_roles" action_id="localroles" category="object"
64    condition_expr="python:object.getTypeInfo().cps_proxy_type != 'document'"
65    url_expr="string:${object_url}/folder_localrole_form" visible="True">
66  <permission value="Change permissions"/>
67 </action>
68 <action title="action_status_history" action_id="status_history"
69    category="workflow"
70    condition_expr=""
71    url_expr="string:${object_url}/content_status_history" visible="True">
72  <permission value="View status history"/>
73 </action>
74</object>
Note: See TracBrowser for help on using the repository browser.