f93a817c416d4b90bf96912c6d028faae66258d7
[Plinn.git] / profiles / photo / 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="icon_expr">string:${portal_url}/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="add_view_expr"></property>
11 <property name="link_target"></property>
12 <property name="immediate_view">object/edit</property>
13 <property name="global_allow">True</property>
14 <property name="filter_content_types">True</property>
15 <property name="allowed_content_types"/>
16 <property name="allow_discussion">False</property>
17 <alias from="(Default)" to="favorite_view"/>
18 <alias from="view" to="favorite_view"/>
19 <action title="View" action_id="view" category="object" condition_expr=""
20 icon_expr="" link_target="" url_expr="string:${object_url}/favorite_view"
21 visible="True">
22 <permission value="View"/>
23 </action>
24 <action title="Edit" action_id="edit" category="object" condition_expr=""
25 icon_expr="" link_target="" url_expr="string:${object_url}/link_edit_form"
26 visible="True">
27 <permission value="Modify portal content"/>
28 </action>
29 </object>