Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Smartmenus.js

161 sites Security covered
View on drupal.org

This module integrates Drupal with the Smartmenus.js JavaScript library to create responsive, accessible, and mobile-first navigation menus. It allows you to display menus in blocks and customize their appearance and behavior, including options for mobile toggles and orientation.

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

  1. 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'
  2. Install the Smartmenus module as usual

Usage

  1. Navigate to the blocks administration at admin/structure/blocks
  2. Place the Responsive drop-down Smartmenu #1 block into a region
  3. Profit.

Requirements

  • Drupal 7
  • Drupal 8+
    • Composer
    • As of the 2.0.2-beta4 release, please use vadikom/smartmenus instead of drmonty/smartmenus and note that the library is now in the dist/ subdirectory.
    • Smartmenus library is added using composer. Add this to your project's composer.json:
          "repositories": [
              {
                  "type": "package",
                  "package": {
                      "name": "vadikom/smartmenus",
                      "version": "1.2.1",
                      "type": "drupal-library",
                      "dist": {
                          "url": "https://github.com/vadikom/smartmenus/archive/refs/tags/1.2.1.zip",
                          "type": "zip"
                      },
                      "require": {
                          "composer/installers": "^1.2"
                      }
                  }
              }
          ],
      
    • Install the Smartmenus module as usual (download or with composer also)

Modern Drupal (8+)

* 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, however you must still add the repository as shown above. 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.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Nov 2024
Latest release
10 months ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
2.0.2-beta5 Pre-release 10–11 Oct 23, 2025
2.0.2-beta4 Pre-release 10–11 Oct 23, 2025
2.0.2-beta3 Pre-release 8–10 Nov 27, 2024