Commit 3678560d authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added a property to store the ID of a page used to configure the current Web...

Added a property to store the ID of a page used to configure the current Web Section of Web Site layout. This will help the process of making all widgets generic. The cleanest approach would be obviously to rely only on the gadget API but it is less convenient than flexible properties when it comes to pure page templates.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19946 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 38334552
...@@ -63,6 +63,17 @@ class WebSection: ...@@ -63,6 +63,17 @@ class WebSection:
'type' : 'string', 'type' : 'string',
'default' : None, 'default' : None,
'mode' : 'rw' }, 'mode' : 'rw' },
{ 'id' : 'layout_configuration_form_id',
'description' : 'The ID of a form which can be used to configure layout preferences.',
'type' : 'string',
'default' : None,
'acquisition_base_category' : ('parent',),
'acquisition_portal_type' : ('Web Section', 'Web Site'),
'acquisition_copy_value' : 0,
'acquisition_mask_value' : 1,
'acquisition_accessor_id' : 'getLayoutConfigurationFormId',
'acquisition_depends' : None,
'mode' : '' },
) )
_categories = ('aggregate', ) _categories = ('aggregate', )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment