[1154] | 1 | Introduction |
---|
[3275] | 2 | ------------ |
---|
[1154] | 3 | |
---|
[2782] | 4 | This package allows to build dropdown menu through the web with portal_actions. |
---|
[2786] | 5 | Submenus are built from a tree of nested Category Actions and Actions. |
---|
[2782] | 6 | The other strategy used to populate submenus is Plone default NavigationStrategy, |
---|
| 7 | the one used in navigation portlet. |
---|
[1154] | 8 | |
---|
[2782] | 9 | This project is successor of qPloneDropDownMenu. |
---|
[1157] | 10 | |
---|
[2782] | 11 | Building you dropdown menu with portal_actions |
---|
[3275] | 12 | ============================================== |
---|
[1158] | 13 | |
---|
[2782] | 14 | Starting from Plone 3 portal actions introduced CMF Action Category |
---|
[2786] | 15 | containers, it opened opportunity to build nested actions trees. Though CMF Action |
---|
[2782] | 16 | Category does not behave as a regular action, it has different set of properties. |
---|
[2786] | 17 | We introduced convention in quintagroup.dropdownmenu that requires to have |
---|
[2782] | 18 | a specially named Action for each Actions Category. The id of each such action |
---|
[2849] | 19 | must be build using the rule:: |
---|
[2782] | 20 | |
---|
[2849] | 21 | action_id = prefix + category_id + suffix |
---|
[2782] | 22 | |
---|
| 23 | where: |
---|
| 24 | |
---|
[2849] | 25 | :category_id: is id of correspondent CMF Action Category |
---|
| 26 | :prefix: defined in DropDownMenu configlet, default value '' |
---|
| 27 | :suffix: defined in DropDownMenu configlet, default value '_sub' |
---|
[1158] | 28 | |
---|
[2849] | 29 | So, the actions structure can look like:: |
---|
[1158] | 30 | |
---|
[2849] | 31 | + portal_tabs |
---|
| 32 | |- home |
---|
| 33 | |- blog_sub |
---|
| 34 | |-+ blog |
---|
| 35 | | |-- 2009 |
---|
| 36 | | |-- 2010 |
---|
[2782] | 37 | |
---|
| 38 | By default the root of dropdown menu is 'portal_tabs' category. |
---|
| 39 | |
---|
| 40 | Compatibility |
---|
[3275] | 41 | ============= |
---|
[1157] | 42 | |
---|
[2849] | 43 | * **Plone 4** sample CSS file based on Sunburst theme provided |
---|
| 44 | * **Plone 3.0-3.3** the default CSS file has to be overridden |
---|
[1157] | 45 | |
---|
[1173] | 46 | Installation |
---|
[3275] | 47 | ============ |
---|
[1157] | 48 | |
---|
[3275] | 49 | * add http://good-py.appspot.com/release/plone.app.registry/1.0b2 to versions in your buildout |
---|
[3093] | 50 | * add quintagroup.dropdownmenu to eggs in your buildout |
---|
[3275] | 51 | * install Plone DropDown Menu in Plone via Site Setup -> Add-ons |
---|
| 52 | |
---|
| 53 | Find more details inside docs/INSTALL.txt |
---|