Collapsible navigation block doesn't work for custom menus

Created on 21 April 2023, almost 2 years ago
Updated 20 September 2024, 5 months ago

Problem/Motivation

Collapsible navigation block doesn't work for custom menus.

Steps to reproduce

Create a new menu with some links in it. In block layout configuration page, disable Main navigation, then add a new block using the recently created menu.

View the site in developer mode, and switch to mobile view. Click on the collapsible menu to verify it doesn't open.

Back in the block layout configuration page, disable the recently created menu block, re-enable the Main navigation block and back to the front page. View site in developer mode, and switch to mobile view. Click on the collapsible menu to verify it opens.

Proposed resolution

Make collapsible navigation block work for custom menus. Remove direct reference to the id of the Main navigation (?).

Remaining tasks

Not sure.

User interface changes

Not sure.

API changes

Not sure.

Data model changes

Not sure.

πŸ› Bug report
Status

Fixed

Version

5.1

Component

Code

Created by

πŸ‡²πŸ‡ΎMalaysia amal.bukhari

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

Comments & Activities

  • Issue created by @amal.bukhari
  • πŸ‡³πŸ‡±Netherlands jurriaanroelofs

    Moving this issue to DXPR Theme issue queue

  • Status changed to Fixed over 1 year ago
  • πŸ‡ΊπŸ‡¦Ukraine twilderan Kyiv, Ukraine πŸ‡ΊπŸ‡¦

    Dear @amal.bukhari,

    We greatly appreciate your correspondence. We wish to inform you that the problem concerning the support of standard custom Drupal menus has been successfully resolved. This solution has been incorporated into the most recent version, namely 5.1.2.

    Kindly inform us whether you are utilizing multi-level menus or the Megamenu module. Presently, we regret to inform you that our support extends exclusively to the Main navigation menu. Implementing these menus beyond this scope necessitates tailor-made adjustments to your website.

    Your understanding is valued.

    Sincerely,
    Mykola Balabash

  • πŸ‡²πŸ‡ΎMalaysia amal.bukhari

    Hi,

    I'm using standard Drupal menus. The latest update has resolved this error.

    Kind regards,
    Amal.

  • Automatically closed - issue fixed for 2 weeks with no activity.

  • Status changed to Fixed 5 months ago
  • πŸ‡ΊπŸ‡ΈUnited States aplmicro

    Hi - I am more a designer and photographer than a Drupal developer. I love DXPR and I am miking progress in getting it to work for me to showcase my photography with the electron microscope.

    I am having trouble getting the collapsible main navigation to appear on the smartphone views. Any solutions? Pardon my deficiency in backend Drupal terminology.

    Visit
    https://www.aplmicro.com/

Production build 0.71.5 2024