Changes between Version 39 and Version 40 of quintagroup.dropdownmenu
- Timestamp:
- Jun 5, 2013 3:14:05 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
quintagroup.dropdownmenu
v39 v40 76 76 Starting from Plone 3 portal actions introduced CMF Action Category containers, it opened opportunity to build nested actions trees. Though CMF Action Category does not behave as a regular action, it has different set of properties. We introduced convention in quintagroup.dropdownmenu that requires to have a specially named Action for each Actions Category. The id of each such action must be build using the rule: 77 77 78 {{{action_id = prefix + category_id + suffix}}} 78 {{{ 79 action_id = prefix + category_id + suffix 80 }}} 79 81 where: 80 82 81 category_id: isid of correspondent CMF Action Category83 category_id: id of correspondent CMF Action Category 82 84 prefix: defined in DropDownMenu configlet, default value '' 83 85 suffix: defined in DropDownMenu configlet, default value '_sub' 84 86 So, the actions structure can look like: 85 87 86 {{{+ portal_tabs 88 89 {{{ 90 + portal_tabs 87 91 |- home 88 92 |- blog_sub 89 93 |-+ blog 90 94 | |-- 2009 91 | |-- 2010}}} 95 | |-- 2010 96 }}} 97 92 98 By default the root of dropdown menu is 'portal_tabs' category. 93 99