This bug appears with the upgrade from 7.x-2.0 to 7.x-2.1.

If I have a menu link and all of the child menu links beneath it are disabled, nice_menus will render an empty <ul> beneath the parent component.

If I were to theme background images as part of the menu system (as in this example http://www.planetaryskin.org), the empty <ul> will render pieces of the background image, as in the first attached screenshot.

Nice menus 2.1 also renders the parent link as a menuparent, even when there are no accessible child links below it. That means that an expand arrow will appear, even when the parent link can't be expanded. This is visible in the second attached screenshot.

Comments

pawel.traczynski’s picture

I also confirm this bug. When under one parent all it's child elements are disabled nice_menus creates for that parent child <ul> container which has no <li>'s inside.

avpaderno’s picture

Version: 7.x-2.1 » 7.x-2.x-dev
Issue summary: View changes
astonvictor’s picture

Status: Active » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.