Last change
on this file since 2782 was
2782,
checked in by chervol, 14 years ago
|
documentation update
|
-
Property svn:eol-style set to
native
|
File size:
1.5 KB
|
Rev | Line | |
---|
[1154] | 1 | Introduction |
---|
| 2 | ============ |
---|
| 3 | |
---|
[2782] | 4 | This package allows to build dropdown menu through the web with portal_actions. |
---|
| 5 | Submenus are built of the tree of nested Category Actions and Actions. |
---|
| 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 |
---|
| 12 | ---------------------------------------------- |
---|
[1158] | 13 | |
---|
[2782] | 14 | Starting from Plone 3 portal actions introduced CMF Action Category |
---|
| 15 | containers it opened opportunity to build nested actions trees. Though CMF Action |
---|
| 16 | Category does not behave as a regular action, it has different set of properties. |
---|
| 17 | We introduced convention in the quintagroup.dropdownmenu that requires to have |
---|
| 18 | a specially named Action for each Actions Category. The id of each such action |
---|
| 19 | must be build using the rule: |
---|
| 20 | |
---|
| 21 | action_id = prefix + category_id + suffix |
---|
| 22 | |
---|
| 23 | where: |
---|
| 24 | |
---|
| 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 | |
---|
[2782] | 29 | So the actions structure can look like: |
---|
[1158] | 30 | |
---|
[2782] | 31 | / portal_tabs |
---|
| 32 | |- home |
---|
| 33 | |- blog_sub |
---|
| 34 | |-/ blog |
---|
| 35 | | |-- 2009 |
---|
| 36 | | |-- 2010 |
---|
| 37 | |
---|
| 38 | By default the root of dropdown menu is 'portal_tabs' category. |
---|
[1340] | 39 | |
---|
[2782] | 40 | |
---|
| 41 | Compatibility |
---|
[1173] | 42 | ----------- |
---|
[1157] | 43 | |
---|
[2782] | 44 | Plone 3.0 - 3.3 |
---|
| 45 | Plone 4 |
---|
[1157] | 46 | |
---|
| 47 | |
---|
[1173] | 48 | Installation |
---|
| 49 | ------------ |
---|
[1157] | 50 | |
---|
[2782] | 51 | * add quintagroup.dropdownmenu to your buildout |
---|
| 52 | * install in Plone with Quick Installer |
---|
| 53 | * find more details inside docs/INSTALL.txt |
---|
[1157] | 54 | |
---|
Note: See
TracBrowser
for help on using the repository browser.