Author: jmorliaguet
Date: Tue Nov 15 11:15:13 2005
New Revision: 1818

Modified:
   Z3LabSite/trunk/Extensions/install.py
Log:

- updated the installer (the portlets were out-of-date)



Modified: Z3LabSite/trunk/Extensions/install.py
==============================================================================
--- Z3LabSite/trunk/Extensions/install.py       (original)
+++ Z3LabSite/trunk/Extensions/install.py       Tue Nov 15 11:15:13 2005
@@ -13,7 +13,7 @@
 
 SKINS = {'z3lab_website':
          'Products/Z3LabSite/skins/z3lab_website',
-         }
+        }
 
 CACHE_PARAMETERS = {
     'Content Portlet': [
@@ -117,18 +117,6 @@
     'render_method': 'custom_contentitem_display',
     'sort_reverse': 1,
     },
-    {'type': 'Content Portlet',
-    'slot': 'front_main',
-    'folder_path': '/sections/front-page/spotlight-features',
-    'short_syndication_formats': True,
-    'Title': 'Spotlight Features',
-    'sort_on': 'Date',
-    'search_type': 'last_published',
-    'syndication_formats': ['rss_2_0'],
-    'cluster_id': 'preview',
-    'render_method': 'custom_contentitem_display',
-    'sort_reverse': 1,
-    },
     {'type': 'RSS Portlet',
     'slot': 'front_main3',
     'short_syndication_formats': True,
@@ -178,7 +166,7 @@
     #},
 
     {'type': 'Text Portlet',
-    'slot': 'front_main3',
+    'slot': 'front_main',
     'Title': 'Get Involved !',
     'text': """<p>The project just begins. The main short-term goal is to 
create the architecture of the new ECM Platform.</p>
 <h2>Join the collaboration space</h2>
@@ -204,6 +192,18 @@
 
 # front page (right)
     {'type': 'Content Portlet',
+     'slot': 'front_right',
+     'Title': 'Latest news',
+     'sort_on': 'Date',
+     'search_type': 'last_published',
+     'visibility_range': [0, 1],
+     'syndication_formats': ['rss_1_0', 'rss_2_0', 'atom_0_3'],
+     'render_method': 'custom_contentitem_display',
+     'sort_reverse': 1,
+     'searchable_types': ['News Item', 'File'],
+     'order': 20,
+    },
+    {'type': 'Content Portlet',
     'slot': 'front_right',
     'folder_path': '/sections/documentation',
     'Title': 'Documentation updates',
@@ -211,7 +211,7 @@
     'max_items': 3,
     'search_type': 'last_published',
     'sort_reverse': 1,
-    'order': 0,
+    'order': 50,
     },
     {'type': 'Content Portlet',
     'slot': 'front_right',
@@ -232,7 +232,7 @@
     'search_type': 'last_published',
     'render_method': 'custom_contentitem_display',
     'sort_reverse': 1,
-    'order': 20,
+    'order': 60,
     },
     {'type': 'Content Portlet',
     'slot': 'front_right',
@@ -242,7 +242,7 @@
     'max_items': 10,
     'search_type': 'last_published',
     'sort_reverse': 1,
-    'order': 30,
+    'order': 40,
     },
 
 
@@ -315,7 +315,7 @@
     'sort_on': 'Date',
     'search_type': 'last_published',
     'max_words': 12,
-    'order': 40,
+    'order': 50,
     'render_method': 'custom_contentitem_display',
     'sort_reverse': 1,
     },
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to