I have a quite simple site that I just upgraded from 6 to 7.4. Now my main menu is not expandable. I don't remember if there was a setting in 6, or it was by default - but it *was* working. Now the top menu shows correct icons for those with and without children (triangles vs. circles) - but clicking on triangle just opens the page and *not* expand the menu.

Interesting, that Administration menu *is* expandable. I tried to switch theme to Garland for user view as well - so, now I can see that "main" menu is not expandable, but "administration" is.

I don't have any menu modules (and didn't have in 6, either). I can see all nodes in a nice tree when I look at "edit links" page. If I mark the parent as "always show as expanded" it shows expanded, but can't be collapsed.

PS. Not sure, if "upgrading" is the right forum... I associate this problem with upgrade from 6 to 7 - but it may be an independent problem :)

Thanks

EDIT: I noticed in the error log:
File does not exist: /home3/felix/public_html/skins, referer: http://"my-url"/drupal/files/css/css_REFUDp-nxPpj9Kar9bN96IIHL7ANceZBP4FNxYmCu-c.css

which begs two questions:
1. why does it look into /skins (which is resolved as /home3/felix/public_html/skins) and where is it specified.
2. Even when I copied drupal/sites/all/themes/acquia_marina/skins to root, I no longer get an error; but menus still don't expand

Comments

WorldFallz’s picture

There are no expanding menus that are part of core drupal. If you're positive they weren't provided by a module, then it probably was provided by your theme (or custom code). Double check the issue queue for your theme's upgraded version.

virshu’s picture

I'll take your word for it - it was over four years since I set everything up. Although, it's puzzling that Administration menu *does* expand. Also, icons are distinguishable (triangles and circles) - it's so hard to believe that somebody went through the trouble of checking whether there are child elements and didn't code the ability to actually act on the results of such checking. But, ok...

I used to have Bluemarine as my theme; I tried both the new themes (like, Acuia Marina and Fusion Starter Lite) and the old themes (Bluemarine which looks like it's now obsolete, and Garland). Nothing expands.

But if you say, there are no expanding menus - so be it. I am trying to have the most trivial menu tree (similar to Drupal's here http://drupal.org/getting-started ). What would be the easiest module that accomplishes it? I looked various menu modules - they look like huge overkill for what I want to do...

Thanks

Szerszen’s picture

In Drupal 7.7 so just update to the newest version.

Best regards
Tom

virshu’s picture

Upgrade to 7.7 didn't make a difference. However, I created a test site, threw a few pages - and everything is working as expected (and as it used to). So, there is something in the old site that caused this behavior after the upgrade.

Not sure how I can troubleshoot any further. I tried several themes; I don't have any modules installed; I don't have any errors in the log nor in the firebug - but the menu just don't collapse / expand.

jeasolar’s picture

My primary menus weren't expanding anymore after moving a Drupal 6 site to a new server, among other problems. This one I solved by checking the Expanded boxes in Site Configuration->Menus-> for each menu and submenu item. The administration menus were expanding ok without checking these boxes, so I just did the ones I need, my Primary Links which are in my Menu block.

binford2k’s picture

Drupal core does indeed have expandable menus. And they are indeed broken in

http://drupal.org/node/942782

tl;dr: Custom menus (ones that you create) don't expand. If you need this functionality, stuff it in a core menu. Or patch. Or wait until D7.11.