source: products/quintagroup.dropdownmenu/trunk/README.txt @ 3347

Last change on this file since 3347 was 3347, checked in by chervol, 12 years ago

pep fixes, portal_tabs cache condition added, extended readme

  • Property svn:eol-style set to native
File size: 2.1 KB
Line 
1Introduction
2------------
3
4This package allows to build dropdown menu through the web with portal_actions.
5Submenus are built from a tree of nested Category Actions and Actions.
6
7The other strategy used to populate submenus is Plone default NavigationStrategy,
8the one used in navigation portlet. 
9
10This project is successor of qPloneDropDownMenu.
11
12Building you dropdown menu with portal_actions
13==============================================
14
15Starting from Plone 3 portal actions introduced CMF Action Category
16containers, it opened opportunity to build nested actions trees. Though CMF Action
17Category does not behave as a regular action, it has different set of properties.
18We introduced convention in quintagroup.dropdownmenu that requires to have
19a specially named Action for each Actions Category. The id of each such action
20must be build using the rule::
21 
22  action_id = prefix + category_id + suffix
23   
24where:
25 
26:category_id: is id of correspondent CMF Action Category   
27:prefix: defined in DropDownMenu configlet, default value ''
28:suffix: defined in DropDownMenu configlet, default value '_sub'
29
30So, the actions structure can look like::
31
32  + portal_tabs
33  |- home
34  |- blog_sub
35  |-+ blog
36  | |-- 2009
37  | |-- 2010
38     
39By default the root of dropdown menu is 'portal_tabs' category.
40
41Menu caching
42============
43
44If the menu built with Navigation strategy is entirely public it can be cached for
45all users. If Authenticaded users should see some non public items the menu can be
46cached for anonymous only.
47
48Caching in case of involving the portal_actions strategy is effective only in case
49if all the action are public and have no extra conditions. In case some conditions
50are applied per action switch off caching.
51
52 
53Compatibility
54=============
55
56* **Plone 4** sample CSS file based on Sunburst theme provided
57* **Plone 3.0-3.3** the default CSS file has to be overridden
58
59Installation
60============
61
62* add http://good-py.appspot.com/release/plone.app.registry/1.0b2 to versions in your buildout
63* add quintagroup.dropdownmenu to eggs in your buildout
64* install Plone DropDown Menu in Plone via Site Setup -> Add-ons
65
66Find more details on the topic inside docs/INSTALL.txt
67
Note: See TracBrowser for help on using the repository browser.