Changes between Version 38 and Version 39 of quintagroup.dropdownmenu
- Timestamp:
- Jun 5, 2013 3:11:46 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
quintagroup.dropdownmenu
v38 v39 7 7 Many sites, even responsive ones, stick to the belief that navigation belongs at the top of any given page. This approach can cause usability problems on mobile devices because mobile users are often short of two things: screen space and time. Quintagroup.dropdownmenu package offers a solution by providing mobile-first multilevel navigation menu. It means the product enables device-native interactive interface for navigating through the website in more accessible way. Smart select box takes up minimum space on mobile phones, while tablet users are presented with a glorious multilevel top menu. 8 8 9 [[Image(mobile-navigation.jpeg, nolink)]]10 9 11 10 == Links == … … 63 62 Activate Plone Drop-Down Menu via Quickinstaller in Plone: Site Setup -> Add-ons. 64 63 65 == Configuration ==64 == Configuration/Usage == 66 65 67 66 After installation in Plone, you'll see '''!DropDown Menu''' item under '''Add-on Configuration''', that include the following setting options: … … 69 68 [[Image(settings.jpeg, nolink)]] 70 69 70 To enable mobile navigation you need to tick the box for '''Display menu as select for small screens''' 71 72 [[Image(mobile-navigation.jpeg, nolink)]] 71 73 74 '''Building you dropdown menu with portal_actions''' 75 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 78 {{{action_id = prefix + category_id + suffix}}} 79 where: 80 81 category_id: is id of correspondent CMF Action Category 82 prefix: defined in DropDownMenu configlet, default value '' 83 suffix: defined in DropDownMenu configlet, default value '_sub' 84 So, the actions structure can look like: 85 86 {{{+ portal_tabs 87 |- home 88 |- blog_sub 89 |-+ blog 90 | |-- 2009 91 | |-- 2010}}} 92 By default the root of dropdown menu is 'portal_tabs' category. 93 94