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=
"icon_expr">string:${portal_url}/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=
"add_view_expr"></property>
12 <property name=
"link_target"></property>
13 <property name=
"immediate_view">object/edit
</property>
14 <property name=
"global_allow">True
</property>
15 <property name=
"filter_content_types">True
</property>
16 <property name=
"allowed_content_types"/>
17 <property name=
"allow_discussion">False
</property>
18 <alias from=
"(Default)" to=
"newsitem_view"/>
19 <alias from=
"gethtml" to=
"source_html"/>
20 <alias from=
"info" to=
"content_info"/>
21 <alias from=
"view" to=
"newsitem_view"/>
22 <action title=
"View" action_id=
"view" category=
"object" condition_expr=
""
23 icon_expr=
"" link_target=
"" url_expr=
"string:${object_url}/newsitem_view"
25 <permission value=
"View"/>
27 <action title=
"Edit" action_id=
"edit" category=
"object" condition_expr=
""
28 icon_expr=
"" link_target=
""
29 url_expr=
"string:${object_url}/newsitem_edit_form" visible=
"True">
30 <permission value=
"Modify portal content"/>
32 <action title=
"Share" action_id=
"localroles" category=
"object"
33 condition_expr=
"" icon_expr=
"" link_target=
""
34 url_expr=
"string:${object_url}/folder_localrole_form" visible=
"True">
35 <permission value=
"Set Local Roles"/>
37 <action title=
"Status history" action_id=
"history" category=
"object"
38 condition_expr=
"" icon_expr=
"" link_target=
""
39 url_expr=
"string:${object_url}/content_status_history" visible=
"True">
40 <permission value=
"Request review"/>
41 <permission value=
"Review portal content"/>