From d19e25f30585fa06dfce52d1a61f0843d113e0d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Xavier=20Algrain?= <fxalgrain@tiolive.com> Date: Tue, 23 Nov 2010 10:02:14 +0000 Subject: [PATCH] Add new parameters for layout configuration. Remove unused and unclear "layout_display_content_widget" Review by Ivan git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40516 20353a03-c40f-0410-a6d1-a30d3c3de9de --- ...ection_viewKMMinimalThemeConfiguration.xml | 9 +- .../my_layout_display_breadcrumb_widget.xml | 125 ++++++++++++++++ .../my_layout_display_header_title_widget.xml | 125 ++++++++++++++++ .../my_layout_display_search_widget.xml | 125 ++++++++++++++++ .../my_layout_display_toolbar_widget.xml | 135 ++++++++++++++++++ .../my_layout_display_user_widget.xml | 125 ++++++++++++++++ .../my_layout_force_anonymous_gadget.xml | 120 ++++++++++++++++ ...l => my_layout_member_navigation_menu.xml} | 43 +++--- .../my_layout_search_portal_type.xml | 101 +++++++++++++ bt5/erp5_km/bt/revision | 2 +- 10 files changed, 886 insertions(+), 24 deletions(-) create mode 100644 bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_breadcrumb_widget.xml create mode 100644 bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_header_title_widget.xml create mode 100644 bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_search_widget.xml create mode 100644 bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_toolbar_widget.xml create mode 100644 bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_user_widget.xml create mode 100644 bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_force_anonymous_gadget.xml rename bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/{my_layout_display_content_widget.xml => my_layout_member_navigation_menu.xml} (90%) create mode 100644 bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_search_portal_type.xml diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration.xml index b6c6f2efe4..3c3ea6f5cd 100644 --- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration.xml +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration.xml @@ -100,12 +100,14 @@ <value> <list> <string>my_layout_anonymous_navigation_menu</string> + <string>my_layout_member_navigation_menu</string> <string>my_layout_navigation_menu_width</string> <string>my_layout_navigation_menu_indent</string> <string>my_layout_navigation_menu_opacity</string> <string>my_layout_all_languages</string> <string>my_layout_display_language_icons</string> <string>my_layout_all_versions</string> + <string>my_layout_display_breadcrumb_widget</string> <string>my_layout_max_breadcrumb_length</string> </list> </value> @@ -114,7 +116,12 @@ <key> <string>right (Gadgets)</string> </key> <value> <list> - <string>my_layout_display_content_widget</string> + <string>my_layout_force_anonymous_gadget</string> + <string>my_layout_display_user_widget</string> + <string>my_layout_display_header_title_widget</string> + <string>my_layout_display_toolbar_widget</string> + <string>my_layout_display_search_widget</string> + <string>my_layout_search_portal_type</string> </list> </value> </item> diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_breadcrumb_widget.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_breadcrumb_widget.xml new file mode 100644 index 0000000000..ebbd02d3e3 --- /dev/null +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_breadcrumb_widget.xml @@ -0,0 +1,125 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list> + <string>default</string> + <string>description</string> + <string>title</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_layout_display_breadcrumb_widget</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>default</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Define display of breadcrumb widget</string> </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_checkbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> + <list> + <tuple> + <string>Display</string> + <string>display</string> + </tuple> + <tuple> + <string>Hide</string> + <string>hide</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>orientation</string> </key> + <value> <string>horizontal</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Show Breadcrumb Widget</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_header_title_widget.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_header_title_widget.xml new file mode 100644 index 0000000000..f29ac79a04 --- /dev/null +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_header_title_widget.xml @@ -0,0 +1,125 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list> + <string>default</string> + <string>description</string> + <string>title</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_layout_display_header_title_widget</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>default</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Define display of header title widget</string> </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_checkbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> + <list> + <tuple> + <string>Display</string> + <string>display</string> + </tuple> + <tuple> + <string>Hide</string> + <string>hide</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>orientation</string> </key> + <value> <string>horizontal</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Show Header Title Widget</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_search_widget.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_search_widget.xml new file mode 100644 index 0000000000..fd858421f5 --- /dev/null +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_search_widget.xml @@ -0,0 +1,125 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list> + <string>default</string> + <string>description</string> + <string>title</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_layout_display_search_widget</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>default</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Define display of search widget</string> </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_checkbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> + <list> + <tuple> + <string>Display</string> + <string>display</string> + </tuple> + <tuple> + <string>Hide</string> + <string>hide</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>orientation</string> </key> + <value> <string>horizontal</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Show Search Widget</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_toolbar_widget.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_toolbar_widget.xml new file mode 100644 index 0000000000..e2abbcdbe7 --- /dev/null +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_toolbar_widget.xml @@ -0,0 +1,135 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list> + <string>description</string> + <string>first_item</string> + <string>items</string> + <string>orientation</string> + <string>title</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_layout_display_toolbar_widget</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>description</string> </key> + <value> <string>Define display of bottom toolbar</string> </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_radio_field</string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> + <list> + <tuple> + <string>Webmaster</string> + <string>webmaster</string> + </tuple> + <tuple> + <string>Context</string> + <string>context</string> + </tuple> + <tuple> + <string>Display</string> + <string>display</string> + </tuple> + <tuple> + <string>Hide</string> + <string>hide</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>orientation</string> </key> + <value> <string>horizontal</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Toolbar Widget</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_user_widget.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_user_widget.xml new file mode 100644 index 0000000000..30e4a4f8b2 --- /dev/null +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_user_widget.xml @@ -0,0 +1,125 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list> + <string>default</string> + <string>description</string> + <string>title</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_layout_display_user_widget</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>default</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Define display of user widget (login/logout)</string> </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_checkbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> + <list> + <tuple> + <string>Display</string> + <string>display</string> + </tuple> + <tuple> + <string>Hide</string> + <string>hide</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>orientation</string> </key> + <value> <string>horizontal</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Show User Widget</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_force_anonymous_gadget.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_force_anonymous_gadget.xml new file mode 100644 index 0000000000..a67e84c90d --- /dev/null +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_force_anonymous_gadget.xml @@ -0,0 +1,120 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list> + <string>description</string> + <string>title</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_layout_force_anonymous_gadget</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>description</string> </key> + <value> <string>Gadget can not be personalized, moved, deleted,added</string> </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_checkbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> + <list> + <tuple> + <string>Display</string> + <string>display</string> + </tuple> + <tuple> + <string>Hide</string> + <string>hide</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>orientation</string> </key> + <value> <string>horizontal</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Force Anonymous Gadget</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_content_widget.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_member_navigation_menu.xml similarity index 90% rename from bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_content_widget.xml rename to bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_member_navigation_menu.xml index 85f388c023..42c113187c 100644 --- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_display_content_widget.xml +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_member_navigation_menu.xml @@ -2,16 +2,13 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <tuple> - <global name="RadioField" module="Products.Formulator.StandardFields"/> - <tuple/> - </tuple> + <global name="RadioField" module="Products.Formulator.StandardFields"/> </pickle> <pickle> <dictionary> <item> <key> <string>id</string> </key> - <value> <string>my_layout_display_content_widget</string> </value> + <value> <string>my_layout_member_navigation_menu</string> </value> </item> <item> <key> <string>message_values</string> </key> @@ -149,7 +146,9 @@ </item> <item> <key> <string>items</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> </item> <item> <key> <string>orientation</string> </key> @@ -192,7 +191,7 @@ </item> <item> <key> <string>description</string> </key> - <value> <string>XXX-JPS What is this. Without explanation no way to know. And is this about a widget or a gadget ?</string> </value> + <value> <string>It is possible to provide section navigation to users so that the KM site looks like a usual web site to the public.</string> </value> </item> <item> <key> <string>editable</string> </key> @@ -221,20 +220,7 @@ <item> <key> <string>items</string> </key> <value> - <list> - <tuple> - <string>Acquire</string> - <string></string> - </tuple> - <tuple> - <string>Display</string> - <string>display</string> - </tuple> - <tuple> - <string>Hide</string> - <string>hide</string> - </tuple> - </list> + <list/> </value> </item> <item> @@ -247,7 +233,7 @@ </item> <item> <key> <string>title</string> </key> - <value> <string>Content Widget</string> </value> + <value> <string>Member Navigation Menu</string> </value> </item> <item> <key> <string>unicode</string> </key> @@ -263,4 +249,17 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: [(\'Acquire\', \'\'), (\'Sections\', True), (\'Browser\', False)]</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_search_portal_type.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_search_portal_type.xml new file mode 100644 index 0000000000..151ef26df2 --- /dev/null +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewKMMinimalThemeConfiguration/my_layout_search_portal_type.xml @@ -0,0 +1,101 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list> + <string>description</string> + <string>title</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_layout_search_portal_type</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>description</string> </key> + <value> <string>Force the fast search to a defined portal type. Else we display a list of portal type.</string> </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_string_field</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Search Portal Type</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_km/bt/revision b/bt5/erp5_km/bt/revision index 515e5099eb..f2b2a17d52 100644 --- a/bt5/erp5_km/bt/revision +++ b/bt5/erp5_km/bt/revision @@ -1 +1 @@ -1685 \ No newline at end of file +1686 \ No newline at end of file -- 2.30.9