From 871182703291ca9aa611d7112480b779d7ad571c Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Fri, 23 Jan 2009 22:17:38 +0000 Subject: [PATCH] added properties so that building navigation or site maps can be achieved in a universal way indepent of the theme git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25289 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/PropertySheet/WebSection.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/product/ERP5/PropertySheet/WebSection.py b/product/ERP5/PropertySheet/WebSection.py index a130338b9f..6751e0f5f1 100644 --- a/product/ERP5/PropertySheet/WebSection.py +++ b/product/ERP5/PropertySheet/WebSection.py @@ -62,6 +62,18 @@ class WebSection: 'type' : 'boolean', 'default' : 1, 'mode' : 'rw' }, + { 'id' : 'site_map_document_parent', + 'description' : 'Defines whether the documents of this section should ' + 'be part of the site map.', + 'type' : 'boolean', + 'default' : 0, + 'mode' : 'rw' }, + { 'id' : 'site_map_section_parent', + 'description' : 'Defines whether the subsections of this section should ' + 'be part of the site map.', + 'type' : 'boolean', + 'default' : 0, + 'mode' : 'rw' }, { 'id' : 'custom_render_method_id', 'description' : 'ID of a page template, script, form or any callable object' 'which overrides the default rendering of the section', -- 2.30.9