Mise à jour du profil de configuration par défaut qui ne fonctionnait plus depuis...
[Plinn.git] / profiles / default / types / Lightbox.xml
diff --git a/profiles/default/types/Lightbox.xml b/profiles/default/types/Lightbox.xml
new file mode 100644 (file)
index 0000000..def8f7e
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<object name="Lightbox" meta_type="Factory-based Type Information"
+   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
+ <property name="title">Lightbox</property>
+ <property name="description">lightbox holds references to photos</property>
+ <property name="icon_expr">string:${portal_url}/lightbox_icon.png</property>
+ <property name="content_meta_type">Lightbox</property>
+ <property name="product"></property>
+ <property name="factory">portfolio.lightbox</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
+ <property name="immediate_view">object/view</property>
+ <property name="global_allow">True</property>
+ <property name="filter_content_types">True</property>
+ <property name="allowed_content_types"/>
+ <property name="allow_discussion">False</property>
+ <alias from="(Default)" to="lightbox_view"/>
+ <alias from="view" to="lightbox_view"/>
+ <action title="View" action_id="view" category="object" condition_expr=""
+    icon_expr="" link_target="" url_expr="string:${object_url}/lightbox_view"
+    visible="True">
+  <permission value="View"/>
+ </action>
+</object>