Changing view modes/disabling MIE on a per-block basis

Created on 17 November 2022, about 2 years ago
Updated 10 May 2023, over 1 year ago

Problem/Motivation

We are using the Menu Item Extras module to field menu item entities for the main nav menu in order to create a megamenu. It was all going well until we realized that there was no means via the UI to customize the view mode on a per-block level. So our footer and sidebar menu blocks (which also use the main nav menu) are displaying all mega menu content. I've looked around in the preprocess hooks and haven't found the silver bullet there either.

We're at budget on this project. I'm hoping there's a means for rendering the secondary displays of the main nav as simple menus without having to get into a whole bunch of custom templating. Attaching screenshot of how the footer/sidebar main nav blocks appeared before and after the Menu Items Extras implementation.

πŸ’¬ Support request
Status

Active

Version

2.0

Component

Menu settings

Created by

πŸ‡ΊπŸ‡ΈUnited States hipp2bsquare Temple, New Hampshire

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.71.5 2024