Unable to add to any menu other them "main"

Created on 13 November 2023, 10 months ago

Problem/Motivation

The module enforces the use of the main menu, which prevents this module from being used to add links to any other menu such as the my account, footer, or admin menus. This is also an issue, since not all sites have a "main" menu.

Steps to reproduce

  1. Install module on the site
  2. Configure a content type to use more then just one menu
  3. Create or Edit a content item and try assigning the alternative menu

Proposed resolution

Get the menu id from the form value.

Remaining tasks

Do it.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States richgerdes New Jersey, USA

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

Comments & Activities

  • Issue created by @richgerdes
  • @richgerdes opened merge request.
  • Status changed to Needs review 10 months ago
  • πŸ‡ΊπŸ‡ΈUnited States richgerdes New Jersey, USA

    MR 7 provides an alternative approach that breaks apart the value sent by the form submission. The old logic hard coded the menu name name to main, but didn't successfully remove the prefix from the menu items if the menu name was different.

Production build 0.71.5 2024