diff --git a/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/generate_site.xml b/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/generate_site.xml new file mode 100644 index 0000000000000000000000000000000000000000..726e66556d175c5c7f8d39783953da1a3dc42ff5 --- /dev/null +++ b/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Site/generate_site.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.ActionInformation</string> + <string>ActionInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_action</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>generate_site</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>Manage portal</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>10.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Generate Web Site Structure from Categories</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/WebSite_viewGenerateSectionFromCategoryListDialog</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web/bt/template_action_path_list b/bt5/erp5_web/bt/template_action_path_list index d2684111cfbe3bf2100049e924ac45b5c61b8776..2df5c117076c044b5780ed38269a0118f4f7aa2b 100644 --- a/bt5/erp5_web/bt/template_action_path_list +++ b/bt5/erp5_web/bt/template_action_path_list @@ -20,6 +20,7 @@ Web Section | web_view Web Site Module | list_ui Web Site Module | sort_on Web Site Module | view +Web Site | generate_site Web Site | history Web Site | metadata Web Site | new_default_page