Admin_menu and this theme could work together

VladSavitsky - November 7, 2008 - 20:44
Project:Scruffy
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Thanks a lot for your work. I love this theme!
If you need a admin_menu module works fine with this theme you should change a code like this:

  </div><!-- /container -->
  <?php print $closure; ?>
  <?php print $scripts; ?>
</body>
</html>

So admin menu will be a full screen wide.
Also scripts loading better should be placed at the end of page.

#1

Rok Žlender - August 22, 2009 - 23:12

I don't recommend putting all scripts at the bottom some javascript code or files need to be at the top. You can specify where javascript files should go when you add them with drupal_add_js and if you want them in footer you can set so there. I attached a simple patch that fixes admin menu problems and it doesn't mess with scripts.

AttachmentSize
scruffy.patch 491 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.