Hi, I'm having an issue with the Admin menu not rendering properly. Most of the time, the menu appears as shown in the attached screenshot. All categories under Administer are expanded by default, and the text labels appear strange, almost as though they're rendered twice overtop of each other.
Occasionally the menu appears normal, with expandable categories (eg. Site Building, Site Configuration, etc), and the text looks normal. I haven't been able to pin down exactly when it will work properly though.

Here are some observations that might help troubleshoot:
- There are no JS errors in the Firebug console when this happens.
- The menu links are still functional when the error occurs.
- The problem is not browser-specific. It occurs in Safari 5 & FireFox 3.6 on OS X, and IE8 & FF4 on Windows7.
- I'm running Drupal 6.22 on GreenGeeks shared hosting, PHP 5.2.17
- The site is generally working well otherwise.

Has anyone seen this before & if so is there a fix? I haven't been able to find any similar issues in the queue.

Thanks very much in advance for any insights!

CommentFileSizeAuthor
admin-menu.png18.41 KBkris_mcl

Comments

kris_mcl’s picture

Update: Ok, the weird text rendering is fixed. Turns out an unrelated CSS selector was setting a white text-shadow property on the menu text. Simple fix once I realized my mistake.

Now my only issue is that the 'Administer' section of the menu still appears fully expanded sometimes. I'll do some further searching into this issue, should be easier to find a fix now that I'm only dealing with 1 issue. I'll post back if I find anything, on the off chance it'll help someone else.

bachomp’s picture

+1

end0rama’s picture

+1

end0rama’s picture

I've spent the last few hours on it, but I reached a point: I used to load jquery 1.6.1 in my drupal theme, adding it to the $script vars and executing after it jQuery.noconflict(). This method of loading jQuery breaks admin module, probably because it tries to use a new jQuery version instead of the drupal built in...

I've resolved doing this:

<script type="text/javascript" src="<?php print $base_path . $directory; ?>/js/jquery-1.6.1.min.js?e"></script>
<script type="text/javascript">
  $j = jQuery.noConflict();
</script>

<?php print $scripts ?>
sickness29’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Development or support is not planned for D6. All D6-related issues are marked as outdated in a bunch.

If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.

Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.