Mise à jour du profil de configuration par défaut qui ne fonctionnait plus depuis...
[Plinn.git] / profiles / default / types / Event.xml
old mode 100755 (executable)
new mode 100644 (file)
index 61a7eeb..293f8be
@@ -4,37 +4,42 @@
  <property name="title">Event</property>
  <property
     name="description">Events are objects for use in Calendar topical queries on the catalog.</property>
- <property name="content_icon">event_icon.gif</property>
+ <property name="icon_expr">string:${portal_url}/event_icon.gif</property>
  <property name="content_meta_type">CMF Event</property>
  <property name="product">CMFCalendar</property>
  <property name="factory">addEvent</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="event_view"/>
  <alias from="view" to="event_view"/>
  <action title="Agenda" action_id="calendar_view" category="object"
-    condition_expr="" url_expr="string:${folder_url}" visible="True">
+    condition_expr="" icon_expr="" link_target=""
+    url_expr="string:${folder_url}" visible="True">
   <permission value="View"/>
  </action>
  <action title="View" action_id="view" category="object" condition_expr=""
-    url_expr="string:${object_url}/event_view" visible="True">
+    icon_expr="" link_target="" url_expr="string:${object_url}/event_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}/event_edit_form" visible="True">
   <permission value="Change portal events"/>
  </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="Status history" action_id="history" category="object"
-    condition_expr="" url_expr="string:${object_url}/content_status_history"
-    visible="True">
+    condition_expr="" icon_expr="" link_target=""
+    url_expr="string:${object_url}/content_status_history" visible="True">
   <permission value="Request review"/>
   <permission value="Review portal content"/>
  </action>