d64d98afa7acd42f6db3d4c4b3b6fd454874f082
[Plinn.git] / profiles / default / types / Favorite.xml
1 <?xml version="1.0"?>
2 <object name="Favorite" meta_type="Factory-based Type Information"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title">Favorite</property>
5 <property name="description">Link to an intra-portal resource.</property>
6 <property name="content_icon">link_icon.gif</property>
7 <property name="content_meta_type">Favorite</property>
8 <property name="product">CMFDefault</property>
9 <property name="factory">addFavorite</property>
10 <property name="immediate_view">object/edit</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 <alias from="(Default)" to="favorite_view"/>
16 <alias from="view" to="favorite_view"/>
17 <action title="View" action_id="view" category="object" condition_expr=""
18 url_expr="string:${object_url}/favorite_view" visible="True">
19 <permission value="View"/>
20 </action>
21 <action title="Edit" action_id="edit" category="object" condition_expr=""
22 url_expr="string:${object_url}/link_edit_form" visible="True">
23 <permission value="Modify portal content"/>
24 </action>
25 </object>