So, this module would in theory be the coolest thing in the world and really save me lots of time...

But my css based theme (customized variation of aeon5) isn't digging it. Normally, the top margin of the page is set to 0px. When the admin block is enabled in the header, the top level container div is moved down about 30px or so, but the menu doesn't show up at all... it's just a white strip at the top of the page. At first, I thought it was simple font and background color settings that were being overridden by other css includes... but then I checked on the DOM inspector and in the source code... the admin_menu div isn't being placed into the page at all.

I get the same result with that theme in both firefox and IE 7. However, when I switch the theme to bluemarine, it shows up just fine (and looks great!)

I don't know if this is a css issue or a js or php or what. If you think it might be the css, I might be able to hack it if you have some ideas where to start...

if it's js or php i'd probably be pretty lost.

Anyway let me know if you have any ideas. I'd love to be able to use this module!

tony

Comments

sun’s picture

Could you please ensure that the Administration Menu block is placed in a region of your theme that is actually available and displayed? Admin Menu installs into the header region by default. If this region is not available in your theme, the stylesheet and JavaScript is loaded, but the block is not output, because the region either does not exist or is not enabled.

acjayne’s picture

Ha! Thank you. I added the following code to my page.tpl.php file in the header div:

<?php if ($header) { ?><div><?php print $header ?></div> <?php } ?>

and that did the trick!

Also, for anyone interested, i changed the position element's property from absolute to fixed for #admin_menu in the .css file. This makes it so that the menu stays at the top of the browser window (not the page), and you can scroll all you want without loosing sight or access to the menu.

Thanks for a great module!!

sun’s picture

Category: bug » support
Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)