Needs work
Project:
OM 2 HTML5
Version:
6.x-2.x-dev
Component:
Documentation
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2012 at 07:22 UTC
Updated:
20 Oct 2012 at 07:44 UTC
OM themes always display Drupal standard menu items in a strange way (see attached snapshot).
How to get rid of these unwanted ids?
Thanks for help
| Comment | File | Size | Author |
|---|---|---|---|
| ommenuids.png | 32.8 KB | jvieille |
Comments
Comment #1
jvieille commentedI found something
In om core template.php, function om_menu_item_link($link) {, line 174:
return 'menu-' . $link['mlid'] . '">' . l($link['title'], $link['href'], $link['localized_options']);So, this seems intentional, but definitely wrong
I just replaced this line by
return l($link['title'], $link['href'], $link['localized_options']);which actually removes the resulting erroneous profix in menu items.
But this might have some side effect as this cannot be coded this way by chance.
OM does not work at all in D6 without fixing this, so I made it a bug and major (providing a temporary fix is available for now)