From 1021a54153ceb8cf23fdddf17ca0d6230dc0ecf5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Mon, 7 Jun 2010 13:58:58 +0000
Subject: [PATCH]  - add missing path for gadget

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36028 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_web_section_random_page.xml          | 134 ++++++++++++++++++
 bt5/erp5_knowledge_pad/bt/revision            |   2 +-
 bt5/erp5_knowledge_pad/bt/template_path_list  |   4 +-
 3 files changed, 138 insertions(+), 2 deletions(-)
 create mode 100644 bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_web_section_random_page.xml

diff --git a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_web_section_random_page.xml b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_web_section_random_page.xml
new file mode 100644
index 0000000000..93b63ab56e
--- /dev/null
+++ b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_web_section_random_page.xml
@@ -0,0 +1,134 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="Gadget" module="Products.ERP5.Document.Gadget"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_Access_contents_information_Permission</string> </key>
+            <value>
+              <list>
+                <string>Assignor</string>
+                <string>Manager</string>
+                <string>Owner</string>
+              </list>
+            </value>
+        </item>
+        <item>
+            <key> <string>_Modify_portal_content_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+                <string>Owner</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_View_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Manager</string>
+                <string>Owner</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_local_properties</string> </key>
+            <value>
+              <tuple>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>multiple_instances_allowed</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>render_type</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>string</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>view_form_id</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>string</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>edit_form_id</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>string</string> </value>
+                  </item>
+                </dictionary>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>gadget_type/web_section</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>edit_form_id</string> </key>
+            <value> <string>ERP5Site_viewRandomPageGadgetPreferenceDialog</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>erp5_web_section_random_page</string> </value>
+        </item>
+        <item>
+            <key> <string>multiple_instances_allowed</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Gadget</string> </value>
+        </item>
+        <item>
+            <key> <string>render_type</string> </key>
+            <value> <string>asynchronous</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Randon Web Section Page</string> </value>
+        </item>
+        <item>
+            <key> <string>view_form_id</string> </key>
+            <value> <string>ERP5Site_viewRandomPageGadget</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_knowledge_pad/bt/revision b/bt5/erp5_knowledge_pad/bt/revision
index 82cf079698..583c9c2a4e 100644
--- a/bt5/erp5_knowledge_pad/bt/revision
+++ b/bt5/erp5_knowledge_pad/bt/revision
@@ -1 +1 @@
-519
\ No newline at end of file
+520ย
\ No newline at end of file
diff --git a/bt5/erp5_knowledge_pad/bt/template_path_list b/bt5/erp5_knowledge_pad/bt/template_path_list
index 24ab04c3a4..b475cd7c50 100644
--- a/bt5/erp5_knowledge_pad/bt/template_path_list
+++ b/bt5/erp5_knowledge_pad/bt/template_path_list
@@ -10,6 +10,8 @@ portal_gadgets/erp5_persons
 portal_gadgets/erp5_persons/**
 portal_gadgets/erp5_rss
 portal_gadgets/erp5_rss/**
+portal_gadgets/erp5_web_section_random_page
+portal_gadgets/erp5_web_section_random_page/**
 portal_gadgets/erp5_worklists
 portal_gadgets/erp5_worklists/**
 portal_gadgets/google_calendar
@@ -17,4 +19,4 @@ portal_gadgets/google_calendar/**
 portal_gadgets/google_maps
 portal_gadgets/google_maps/**
 portal_gadgets/google_search
-portal_gadgets/google_search/**
\ No newline at end of file
+portal_gadgets/google_search/**
-- 
2.30.9