Navigation module clashes with Admin Toolbar Extra Tools

Created on 18 July 2024, about 2 months ago
Updated 23 July 2024, about 2 months ago

Problem/Motivation

When Navigation is enabled on a site where Admin Toolbar Extra Tools is used, some of the 'Create' menu links appear at the top level instead of the second level. This is fixed by uninstalling Admin Toolbar Extra Tools.

Before:

After:

Steps to reproduce

Enable navigation menu on a site where Admin Toolbar Extra Tools is already enabled

Proposed resolution

Document that Admin Toolbar Extra Tools should be uninstalled before installing Navigation?

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component
Navigation 

Last updated 1 day ago

No maintainer
Created by

🇪🇸Spain fjgarlin

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

Comments & Activities

  • Issue created by @fjgarlin
  • 🇪🇸Spain fjgarlin

    Updated after image.

    I tried in two different projects.

  • 🇪🇸Spain fjgarlin

    Update, as seen in one of the screenshots, I had admin_toolbar and admin_toolbar_extras enabled.

    Uninstalling "Admin Toolbar Extra Tools" is enough for the media types links to disappear. So this should probably be included in the notes/recommendations when using the navigation module. I also uninstalled "Admin Toolbar" and it all continues working as expected.

    However, the user link, pointing just to "create user" page, remains, as that was added as part of the newly created "Content" menu.

  • 🇪🇸Spain fjgarlin

    If you try to remove the "User" link to, it won't allow you:

  • 🇦🇺Australia pameeela

    I can confirm the same re: extra links. They appear at the wrong level until you uninstall admin_toolbar_tools (Admin Toolbar Extras).

    However, the user link, pointing just to "create user" page, remains, as that was added as part of the newly created "Content" menu.

    This is by design, that menu is the consolidated 'Create' menu so it provides a link to add users along with content and media.

  • I can also confirm that having Admin Toolbar Extra Tools installed while enabling Navigation Module populates Task links in the Admin Navigation Block (to confirm, disabling this block in Navigation blocks configuration hides the improperly added links as well the Admin menu items: Structure, Appearance, Extends, etc). In my case, its not just links for media. It also includes tasks for custom Entity types I have added from a custom module. However, when I remove Admin Toolbar Extra Tools, links for those entity types are not added to the `Create >` submenu as in @pameeela's screenshot and I believe they should be, correct?

    Before:

    After:

  • I can also confirm that having Admin Toolbar Extra Tools installed while enabling Navigation Module populates Task links in the Admin Navigation Block (to confirm, disabling this block in Navigation blocks configuration hides the improperly added links as well the Admin menu items: Structure, Appearance, Extends, etc). In my case, its not just links for media. It also includes tasks for custom Entity types I have added from a custom module. However, when I remove Admin Toolbar Extra Tools, links for those entity types are not added to the `Create >` submenu as in @pameeela's screenshot and I believe they should be, correct?

    Before:

    After:

  • I can also confirm that having Admin Toolbar Extra Tools installed while enabling Navigation Module populates Task links in the Admin Navigation Block (to confirm, disabling this block in Navigation blocks configuration hides the improperly added links as well the Admin menu items: Structure, Appearance, Extends, etc). In my case, its not just links for media. It also includes tasks for custom Entity types I have added from a custom module. However, when I remove Admin Toolbar Extra Tools, links for those entity types are not added to the `Create >` submenu as in @pameeela's screenshot and I believe they should be, correct?

    Before:

    After:

  • I can also confirm that having Admin Toolbar Extra Tools installed while enabling Navigation Module populates Task links in the Admin Navigation Block (to confirm, disabling this block in Navigation blocks configuration hides the improperly added links as well the Admin menu items: Structure, Appearance, Extends, etc). In my case, its not just links for media. It also includes tasks for custom Entity types I have added from a custom module. However, when I remove Admin Toolbar Extra Tools, links for those entity types are not added to the `Create >` submenu as in @pameeela's screenshot and I believe they should be, correct?

    Before:

    After:

  • I can also confirm that having Admin Toolbar Extra Tools installed while enabling Navigation Module populates Task links in the Admin Navigation Block (to confirm, disabling this block in Navigation blocks configuration hides the improperly added links as well the Admin menu items: Structure, Appearance, Extends, etc). In my case, its not just links for media. It also includes tasks for custom Entity types I have added from a custom module. However, when I remove Admin Toolbar Extra Tools, links for those entity types are not added to the `Create >` submenu as in @pameeela's screenshot and I believe they should be, correct?

    Before:

    After:

Production build 0.71.5 2024