Specifying alternate menus to "main" for off-canvas

Created on 19 April 2022, about 2 years ago
Updated 16 June 2024, 7 days ago

I'd like to pose a couple of use cases that don't really fit well with having "main" as the only menu that can be used for an off-canvas block:

1) We have one site that has a very basic, plain, non-megamenu on the home page. Then there are two landing pages focused on different audiences (one for "employers," one for "job seekers"). The site's "main" menu is used site wide for sidebar navigation, and then the "employer" and "job seeker" menus are used go create megamenu blocks that appear only on the two landing pages. We'd like for those blocks to have the off-canvas functionality for mobile users. There will only ever be one ultimenu block on a given page, but it's a different menu on each page.

2) We have an older site that was built with an older megamenu module. The "main" menu was, again, used for sidebar navigation, and has a different structure than we want on the megamenu. A separate "megamenu_main" menu was created for the megamenu navigation. Now that we want to switch the site over to Ultimenu, we can't really do so without moving all the current navigation from the main menu to a new "sidebar_main" menu, and then rebuilding the megamenu navigation on the "main" menu.

How difficult would it be, do you think, to allow for specifying alternate menu names for the off-canvas menu? The administrator would need to be aware that they can use only one of them on any given page. Any block created with one of the allowed menus would offer the "off-canvas element" and "on-canvas element" configuration options.

Does that sound at all practical? Or desirable?

✨ Feature request
Status

Fixed

Version

2.7

Component

Code

Created by

🇺🇸United States wrd-oaitsd

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024