The variable_get introduced at http://drupal.org/node/63814
checks 'menu_primary_menu' against pid when applying ul class=menu,
however, it misbehaves if its value is 0

'menu_primary_menu' becomes 0 when deactivating "primary links" in settings>>menus
this makes the navigation menu lose its ul class=menu because its pid is not 0 but 1 as per default
This happens when you apply the drop down menu as shown at http://drupal.org/node/57637

I checked $pid against 1 to make it work again, but i do not know how it is supposed to work,
how you find the navigation menu value and how do you find any other menu block whose ul tags should be class=menu

what i know is that if secondary menu is also turned off, it returns 0 and causes the drop down menu not to work

Comments

inforeto’s picture

Perhaps this could be better accomplished by adding a new region "mollio_header".
And thus pass the nav class directly from the css.
This way we leave the other menus alone.
However, i don't know what other things are done in template.php to make the drop down menu work.