3ab73b9261953f6a57ee2fb7071b3237108ec6d9
[Plinn.git] / profiles / default / types / News_Item.xml
1 <?xml version="1.0"?>
2 <object name="News Item" meta_type="Factory-based Type Information"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title">News Item</property>
5 <property
6 name="description">Short text article with a title and an optional lead-in.</property>
7 <property name="content_icon">newsitem_icon.gif</property>
8 <property name="content_meta_type">News Item</property>
9 <property name="product">CMFDefault</property>
10 <property name="factory">addNewsItem</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="newsitem_view"/>
17 <alias from="gethtml" to="source_html"/>
18 <alias from="info" to="content_info"/>
19 <alias from="view" to="newsitem_view"/>
20 <action title="View" action_id="view" category="object" condition_expr=""
21 url_expr="string:${object_url}/newsitem_view" visible="True">
22 <permission value="View"/>
23 </action>
24 <action title="Edit" action_id="edit" category="object" condition_expr=""
25 url_expr="string:${object_url}/newsitem_edit_form" visible="True">
26 <permission value="Modify portal content"/>
27 </action>
28 <action title="Share" action_id="localroles" category="object"
29 condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
30 visible="True">
31 <permission value="Set Local Roles"/>
32 </action>
33 <action title="Status history" action_id="history" category="object"
34 condition_expr="" url_expr="string:${object_url}/content_status_history"
35 visible="True">
36 <permission value="Request review"/>
37 <permission value="Review portal content"/>
38 </action>
39 </object>