The Site Map Menu produces somewhat "confusing" code.

I created a menu called "Footer Menu" and enabled the sitemap module (for main menu and footer menu).

On the /sitemap page, i see this code inside "#site-map .site-map-menus":

<div class="site-map-box-menu site-map-box-menu-menu-footer-menu site-map-box">
[structure of footer menu]

<div class="site-map-box-menu site-map-box-menu-menu-footer-menu site-map-box-menu site-map-box-menu-main-menu site-map-box">
[structure of main menu]

The main menu ".site-map-box" also has the ".site-map-box-menu-menu-footer-menu" class!

Is there any "class list" that doesn't get cleared?

And by the way, how do I change the order of the menus?



daffodilsoftware’s picture

Hi flokli
I have created a patch for this Please test it and provide your feedback on the same

daffodilsoftware’s picture

Hi flokli
Were you able to test the patch? if yes then please provide feedback

daffodilsoftware’s picture

Assigned: Unassigned » daffodilsoftware
daffodilsoftware’s picture

Status: Active » Needs review
flokli’s picture

fixes the bug for me.

gurvan’s picture

Status: Needs review » Patch (to be ported)

the patch work for me too, it can be ported

john.oltman’s picture

Issue summary: View changes
Status: Patch (to be ported) » Fixed

In the new 7.x-1.1 release

Status: Fixed » Closed (fixed)

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