Changes between Version 38 and Version 39 of quintagroup.dropdownmenu


Ignore:
Timestamp:
Jun 5, 2013 3:11:46 PM (11 years ago)
Author:
naomin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • quintagroup.dropdownmenu

    v38 v39  
    77Many 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. 
    88 
    9  [[Image(mobile-navigation.jpeg, nolink)]] 
    109 
    1110== Links == 
     
    6362Activate Plone Drop-Down Menu via Quickinstaller in Plone: Site Setup -> Add-ons.  
    6463 
    65 == Configuration == 
     64== Configuration/Usage == 
    6665 
    6766After installation in Plone, you'll see '''!DropDown Menu''' item under '''Add-on Configuration''', that include the following setting options: 
     
    6968 [[Image(settings.jpeg, nolink)]] 
    7069 
     70To enable mobile navigation you need to tick the box for '''Display menu as select for small screens''' 
     71  
     72 [[Image(mobile-navigation.jpeg, nolink)]] 
    7173 
     74'''Building you dropdown menu with portal_actions''' 
     75 
     76Starting 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}}} 
     79where: 
     80 
     81category_id:    is id of correspondent CMF Action Category 
     82prefix: defined in DropDownMenu configlet, default value '' 
     83suffix: defined in DropDownMenu configlet, default value '_sub' 
     84So, the actions structure can look like: 
     85 
     86{{{+ portal_tabs 
     87|- home 
     88|- blog_sub 
     89|-+ blog 
     90| |-- 2009 
     91| |-- 2010}}} 
     92By default the root of dropdown menu is 'portal_tabs' category. 
     93 
     94