Wednesday, September 15, 2010

Remove empty space above tabs in Firefox 4 beta 6 title bar

These instructions for Firefox 4 beta 5/6.
  1. Find your userChrome folder inside your Profile folder: to find your profile folder, see: http://kb.mozillazine.org/Profile_folder

  2. Find the "chrome" folder and open it.

  3. Edit userChrome.css

  4. Add this snippet to that file:
    @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
    
    /* Note: assumes app button is visible (menu bar disabled) */
    
    /* Move tabs up to titlebar */
    #main-window[sizemode="maximized"] #navigator-toolbox[tabsontop="true"] #TabsToolbar {
        padding-left: 112px !important;
        padding-right: 112px !important;
    }
    #main-window[sizemode="normal"] #navigator-toolbox[tabsontop="true"] #TabsToolbar {
        padding-left: 112px !important;
        padding-right: 109px !important;
    }
    
    /* Move the menubar above the tabs so it moves the tab bar down when activated */
    #main-window[sizemode="maximized"] #navigator-toolbox[tabsontop="true"] #toolbar-menubar {
        margin: -19px 0px 3px 112px !important;
    }
    #main-window[sizemode="normal"] #navigator-toolbox[tabsontop="true"] #toolbar-menubar {
        margin: -24px 0px 3px 112px !important;
    }
    
    /* Curved corners when tabs-on-top and normal window */
    #main-window[sizemode="normal"] #navigator-toolbox[tabsontop="true"] #nav-bar {
        -moz-border-radius-topleft: 5px !important;
        -moz-border-radius-topright: 5px !important;
    }
    
    (taken from http://userstyles.org/styles/36432)

  5. Restart Firefox.

Friday, September 10, 2010

Usage of library Drupal modules

Edit: Failed to include (my own) HILCC module. How embarassing.

Out of curiosity, I did a quick sampling of usage stats (according to Drupal.org) of different library-related Drupal modules. I left out some that didn't have usage information or are not hosted on D.O. and of course, didn't count many other modules useful to libraries (like Apache Solr, booking modules, etc.)

These stats also reflect only those sites that have module update tracking turned on; it'd be a good question to ask Drupal library service providers what's their best practice on that.

Usage statistics for EZProxy
http://drupal.org/project/usage/ezproxy


Usage statistics for SOPAC
http://drupal.org/project/usage/sopac


Usage statistics for The eXtensible Catalog (XC) Drupal Toolkit
http://drupal.org/project/xc


Usage statistics for Millennium OPAC Integration
http://drupal.org/project/millennium


Usage statistics for Cite
http://drupal.org/project/cite


Usage statistics for DigitalNZ API
http://drupal.org/project/digitalnz


Usage statistics for MARC
http://drupal.org/project/marc


Usage statistics for OAI-PMH Module
http://drupal.org/project/oai2


Usage statistics for Library
http://drupal.org/project/library


Usage statistics for OAI2 for CCK
http://drupal.org/project/oai2forcck


Usage statistics for Book Post
http://drupal.org/project/bookpost


Usage statistics for HILCC Taxonomy autotag
http://drupal.org/project/hilcc