61a7eebdc0fde2ac3c25c996ec3a4d5e55c1f003
[Plinn.git] / profiles / default / types / Event.xml
1 <?xml version="1.0"?>
2 <object name="Event" meta_type="Factory-based Type Information"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title">Event</property>
5 <property
6 name="description">Events are objects for use in Calendar topical queries on the catalog.</property>
7 <property name="content_icon">event_icon.gif</property>
8 <property name="content_meta_type">CMF Event</property>
9 <property name="product">CMFCalendar</property>
10 <property name="factory">addEvent</property>
11 <property name="immediate_view">object/edit</property>
12 <property name="global_allow">True</property>
13 <property name="filter_content_types">True</property>
14 <property name="allowed_content_types"/>
15 <property name="allow_discussion">True</property>
16 <alias from="(Default)" to="event_view"/>
17 <alias from="view" to="event_view"/>
18 <action title="Agenda" action_id="calendar_view" category="object"
19 condition_expr="" url_expr="string:${folder_url}" visible="True">
20 <permission value="View"/>
21 </action>
22 <action title="View" action_id="view" category="object" condition_expr=""
23 url_expr="string:${object_url}/event_view" visible="True">
24 <permission value="View"/>
25 </action>
26 <action title="Edit" action_id="edit" category="object" condition_expr=""
27 url_expr="string:${object_url}/event_edit_form" visible="True">
28 <permission value="Change portal events"/>
29 </action>
30 <action title="Share" action_id="localroles" category="object"
31 condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
32 visible="True">
33 <permission value="Set Local Roles"/>
34 </action>
35 <action title="Status history" action_id="history" category="object"
36 condition_expr="" url_expr="string:${object_url}/content_status_history"
37 visible="True">
38 <permission value="Request review"/>
39 <permission value="Review portal content"/>
40 </action>
41 </object>