diff --git a/bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/ProjectPreference/preferred_project_home_page_publication_section_category_property.xml b/bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/ProjectPreference/preferred_project_home_page_publication_section_category_property.xml new file mode 100644 index 0000000000000000000000000000000000000000..4ed1863c89f8a4fdede06207ff00aba51bf47a7b --- /dev/null +++ b/bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/ProjectPreference/preferred_project_home_page_publication_section_category_property.xml @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Standard Property" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>elementary_type/lines</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>The publication section for web pages to be used as project home page</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>preferred_project_home_page_publication_section_category_property</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Standard Property</string> </value> + </item> + <item> + <key> <string>preference</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>property_default</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>preferred_publication_section</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/SystemPreference_viewProject.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/SystemPreference_viewProject.xml index 67bf41a0cbd68e984417e23c6e38ecd77324e347..f6907ca076e2f2e4331a959906ece1fcf41e4cbe 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/SystemPreference_viewProject.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/SystemPreference_viewProject.xml @@ -94,6 +94,7 @@ <value> <list> <string>my_preferred_task_resource_use_list</string> + <string>my_preferred_project_home_page_publication_section_category</string> </list> </value> </item> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/SystemPreference_viewProject/my_preferred_project_home_page_publication_section_category.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/SystemPreference_viewProject/my_preferred_project_home_page_publication_section_category.xml new file mode 100644 index 0000000000000000000000000000000000000000..c3661abc69f3e3ce5a2863f94fe4b7c49ed0a4cd --- /dev/null +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/SystemPreference_viewProject/my_preferred_project_home_page_publication_section_category.xml @@ -0,0 +1,126 @@ +<?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>items</string> + <string>title</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_preferred_project_home_page_publication_section_category</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>items</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_category</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/> + </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>Home Page Publication Section</string> </value> + </item> + </dictionary> + </value> + </item> + </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: here.portal_categories["publication_section"].getCategoryChildCompactLogicalPathItemList()</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData>