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>
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"/>
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"/>
28 <action title=
"Share" action_id=
"localroles" category=
"object"
29 condition_expr=
"" url_expr=
"string:${object_url}/folder_localrole_form"
31 <permission value=
"Set Local Roles"/>
33 <action title=
"Status history" action_id=
"history" category=
"object"
34 condition_expr=
"" url_expr=
"string:${object_url}/content_status_history"
36 <permission value=
"Request review"/>
37 <permission value=
"Review portal content"/>