This module provides Drupal integration with the Smartmenus.js advanced jQuery website menu plugin. Mobile first, responsive and accessible list-based website menus that work on all devices. This is the library that was included in core for BackdropCMS, and is most commonly used with Bootstrap.
Any number of Blocks can be used for placing menus on the page.
Side-wide settings:
* number of desired menu blocks
* theme
Per-block settings:
* Menu to render
* Display a mobile toggle (hamburger menu)
* Orientation (vertical/horizontal)
Installation specific to Drupal 7
- Install the Smartmenus jQuery plugin:
- Download the Smartmenus jQuery plugin from github: http://www.smartmenus.org/download
- Unpack the Smartmenus jQuery plugin, and place it in your libraries directory (usually sites/all/libraries)
- Rename the 'smartmenus-1.0.1' directory to simply 'smartmenus'
- Install the Smartmenus module as usual
Usage
- Navigate to the blocks administration at admin/structure/blocks
- Place the Responsive drop-down Smartmenu #1 block into a region
- Profit.
Requirements
- Drupal 7
- Drupal 8+
- Composer
- Smartmenus jQuery Plugin (via composer)
Drupal 8 & 9
* Drupal 8 version is now released. Download the module, install and feel free to report any
issues found in the module. The module comes with a composer.json file adding
drmonty/smartmenus library as a dependency. To install the required library run composer
install command in the module directory before enabling the module.
Drupal 7 / Backdrop CMS
* Development will continue in tandem for Drupal 7 contrib and Backdrop core, indefinitely.
* The Smartmenus functionality is included core for Backdrop CMS, so there is no need for a Backdrop version of this module.
Thanks
Special thanks to Vasil Dinkov, the author of the Smartmenus jQuery library used and loved by all.
Project information
- 188 sites report using this module
- Created by jenlampton on , updated
- Drupal 10 is here!
* There are no plans for a Drupal 9 version of this module.
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 2.0.x-dev updated 10 Oct 2023 at 20:46 UTC
Development version: 7.x-1.x-dev updated 6 Feb 2019 at 05:08 UTC