Mise à jour du profil de configuration par défaut qui ne fonctionnait plus depuis...
[Plinn.git] / profiles / default / types / Photo.xml
old mode 100755 (executable)
new mode 100644 (file)
index 2eb1e27..9ab28d1
@@ -3,29 +3,39 @@
    xmlns:i18n="http://xml.zope.org/namespaces/i18n">
  <property name="title">Photo</property>
  <property name="description">Photo</property>
- <property name="content_icon">photo_icon.gif</property>
+ <property name="icon_expr">string:${portal_url}/photo_icon.gif</property>
  <property name="content_meta_type">Photo</property>
- <property name="product">Portfolio</property>
- <property name="factory">addPhoto</property>
+ <property name="product"></property>
+ <property name="factory">portfolio.photo</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
  <property name="immediate_view">object/edit</property>
  <property name="global_allow">True</property>
  <property name="filter_content_types">True</property>
  <property name="allowed_content_types"/>
- <property name="allow_discussion">True</property>
+ <property name="allow_discussion">False</property>
  <alias from="(Default)" to="photo_view"/>
  <alias from="info" to="photo_info"/>
  <alias from="view" to="photo_view"/>
  <action title="View" action_id="view" category="object" condition_expr=""
-    url_expr="string:${object_url}/photo_view" visible="True">
+    icon_expr="" link_target="" url_expr="string:${object_url}/photo_view"
+    visible="True">
   <permission value="View"/>
  </action>
  <action title="Edit" action_id="edit" category="object" condition_expr=""
+    icon_expr="" link_target=""
     url_expr="string:${object_url}/photo_edit_form" visible="True">
   <permission value="Manage properties"/>
  </action>
  <action title="Share" action_id="localroles" category="object"
-    condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
-    visible="True">
+    condition_expr="" icon_expr="" link_target=""
+    url_expr="string:${object_url}/folder_localrole_form" visible="True">
   <permission value="Set Local Roles"/>
  </action>
+ <action title="Printing settings" action_id="printing_settings"
+    category="object" condition_expr="" icon_expr="" link_target=""
+    url_expr="string:${object_url}/photoprint_templates_edit_form"
+    visible="True">
+  <permission value="Manage print order template"/>
+ </action>
 </object>