After installing the Foundation theme, I noticed that the expandable/collapsible links on the menu administration page (Home - Administer - Site Building - Menus) did not work. The links I'm referring to are actually H2 tags, nested inside a DIV (class="box admin-menu-menu-processed"). These tags ("Primary Links" and "Navigation") are supposed to expand when clicked, to reveal all of the menu items nested inside. I noticed that, in the Foundation theme, the "box.tpl.php" template file had incorrectly changed these H2 tags to H3 tags, which seemed to be the cause of the problem. I changed the tags back to H2, and everything works fine.

CommentFileSizeAuthor
#1 D5menus.png29.21 KBadd1sun
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

add1sun’s picture

Status: Active » Postponed (maintainer needs more info)
FileSize
29.21 KB

Hm, well AFAIK those headers are not JS expandable/collapsible in default Drupal so I'm not sure what you are using that creates that effect. In a stock D5 site those are just plain headers and the menu items all show all the time. Screenshot shows the default behavior I get with Foundation.

add1sun’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Ah, I should also note that you have an additional class on there "admin-menu-menu-processed" which must be coming from something else (admin menu perhaps?) so this is not a Foundation problem as far as I can tell. We can't account for all customizations that modules will make or assumptions they make about the theme. You may want to report this to whatever module that is and let them know that folks using it can't rely on the fact that there are h2 instead of h3 (or anything else a themer might want to use for that.)

markhalliwell’s picture

Project: Foundation »
Version: 5.x-1.x-dev »
Issue summary: View changes