Autre approche pour la surcharge : on surcharge « catalog_object », une méthode plus...
[Plinn.git] / profiles / photo / types / Lightbox.xml
1 <?xml version="1.0"?>
2 <object name="Lightbox" meta_type="Factory-based Type Information"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title">Lightbox</property>
5 <property name="description">lightbox holds references to photos</property>
6 <property name="icon_expr">string:${portal_url}/lightbox_icon.png</property>
7 <property name="content_meta_type">Lightbox</property>
8 <property name="product"></property>
9 <property name="factory">portfolio.lightbox</property>
10 <property name="add_view_expr"></property>
11 <property name="link_target"></property>
12 <property name="immediate_view">object/view</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="lightbox_view"/>
18 <alias from="view" to="lightbox_view"/>
19 <action title="View" action_id="view" category="object" condition_expr=""
20 icon_expr="" link_target="" url_expr="string:${object_url}/lightbox_view"
21 visible="True">
22 <permission value="View"/>
23 </action>
24 </object>