Can we please keep the CSS Class Menu Numbering
| Project: | Quick Admin Menus |
| Version: | 5.x-1.0-beta2 |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Firstly, thanks for a great module. This really would make things so much easier and faster, BUT......
I am quite a heavy themer, and the sites we produce are very tailored for each individual client. Normally, we use CSS classing to use specific menu images for the primary and secondary links, e.g. :-
a.menu-2-1-255 , a.menu-2-1-255-active {
background:transparent url('zz.gif') no-repeat;
}
a.menu-2-2-255 , a.menu-2-2-255-active {
background:transparent url('MAZDA2.gif') no-repeat;
}
a.menu-2-3-255 , a.menu-2-3-255-active {
background:transparent url('MAZDA3.gif') no-repeat;
}
Unfortunately, any changes made using your great module re-numbers the menus and therefore different CSS classes are in the HTML and the images will not work anymore. Is there any way the module can keep the existing menu numbers so any CSS code will still work?
Many thanks,
David

#1
Does reordering the menu items with the normal menu editor preserve the class numbers?
#2
From what I have seen so far, USING THE STANDARD MENU ADMIN SYSTEM...
The first and last numbers remain the same.
The first number is defined by the menu type (e.g. 1 for Primary Links, 2 for Secondary etc).
The last number seems to be like an ID for the menu, i.e. it is always unique.
The middle number refers to the menu item's position as defined by weights, i.e. the first menu item is 1, the second is 2 etc. If I re-order the items, this appears to be the only number that changes.
With the QUICK ADMIN MENUS, the middle and last numbers change because, I am guessing (and could probably be wrong!), the menus are recreated each time we update and Drupal creates new IDs (the final number) for the "new" menus that were recreated?
#3