Ever wanted to use megamenus on your Drupal website? Frustrated with annoying mega menu modules that do way too much? If you know Panels, you know Menu Mini-Panels! Let it work for you!
DevoxxFR 2024 Reproducible Builds with Apache Maven
Drupal 7: Mega Menus using Menu Mini-Panels
1. Menu
Minipanels
A Drupal module for intelligently
constructing mega menus.
GT Drupal Users Group (GTDUG) - 2013 - Eric Sembrat
2. Before We Begin
•
•
These slides are available to download now!
Available from my blog ( http://www.ericsembrat.com )
GT Drupal Users Group (GTDUG) - 2013 - Eric Sembrat
3. Road Map
•
•
•
•
•
•
What are Mega Menus?
Mega Menus in Drupal.
Introducing: Menu Minipanels.
Usage.
Short demo.
Questions? Comments?
GT Drupal Users Group (GTDUG) - 2013 - Eric Sembrat
4. Presenter
Eric Scott Sembrat
Twitter: @esembrat
Web Developer for the College
of Sciences
Graduate Student at Georgia
State University
eric.sembrat@cos.gatech.edu
GT Drupal Users Group (GTDUG) - 2013 - Eric Sembrat
6. Menus
•
Menus are an instrumental piece of your
website.
•
A recent trend with website menus is the
inclusion of so-called megamenus.
GT Drupal Users Group (GTDUG) - 2013 - Eric Sembrat
7. Megamenus?
•
Megamenus (MM) solve issues stemming from
drop-down menu (DDM) structure.
•
Problems with DDM include:
•
•
•
Long, unusable menus.
Shortened, abbreviated menu link text.
Breadth and depth of content shown.
GT Drupal Users Group (GTDUG) - 2013 - Eric Sembrat
15. The Power of MMs
•
A MM uses two-dimensional drop-down panels
to group structured navigation options without
scrolling. (source)
•
•
A DDM on steroids.
•
Gives a feature-full site-map like menu for
accessibility.
Allows for rich media (photos, videos) and
dynamic content to reside in your menu.
GT Drupal Users Group (GTDUG) - 2013 - Eric Sembrat
16. So, how do I
create one?
GT Drupal Users Group (GTDUG) - 2013 - Eric Sembrat
18. The Issue
•
However, all of these modules make the critical
mistake of reinventing the wheel by creating
duplicate features to what Drupal already does.
GT Drupal Users Group (GTDUG) - 2013 - Eric Sembrat
24. Menu Minipanels
•
Menu Minipanels (MMP) takes the power and
flexibility of Panels, Menu, and Views, and
connects them properly to build a seamless
MM.
•
Megamenus in MMP are nothing but the Panel
elements you know (and love?).
•
Configuration of MMPs are exactly the same
as configuring a Panel, with one extra step.
GT Drupal Users Group (GTDUG) - 2013 - Eric Sembrat
25. Suggested Modules
•
Menu Minipanels (MMP) can be made a bit
easier with a few Panels-related modules:
•
menu_node - Key dependency to the module
below.
•
menu_node_views - Views integration for
menu items.
•
Note: This is one of those modules that still
has no “stable” release.
GT Drupal Users Group (GTDUG) - 2013 - Eric Sembrat