Friday, November 12, 2010

Millennium Integration module for Drupal 2.0 screenshots

Here are some screenshots from the 2.0 version of the Drupal Millennium Integration module in action.

These records were imported from a live library catalog. This example is using the Fusion theme.
Teasers for nodes with imported records.
A full node view. The Table of Contents section below is provided by the optional (included) Millennium Enrichment module which brings in data from the Library of Congress at import time. All the information would be in Drupal's full text index and thus is searchable.
This node shows an embedded Google Book Search reader. It only shows when the item actually has a preview or full view in Google Book Search.
This is a wall of books from the included Views integration. This example uses the Garland theme.

You can easily do manual or automatic batch imports in a variety of ways; this screenshot shows an example.

Here are some of the configuration/settings screens.
General settings and sources. The module can handle several OPACs simultaneously.

Read more over at the Millennium Integration module project page.

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:

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

  3. Edit userChrome.css

  4. Add this snippet to that file:
    @namespace url(;
    /* 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

  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 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

Usage statistics for SOPAC

Usage statistics for The eXtensible Catalog (XC) Drupal Toolkit

Usage statistics for Millennium OPAC Integration

Usage statistics for Cite

Usage statistics for DigitalNZ API

Usage statistics for MARC

Usage statistics for OAI-PMH Module

Usage statistics for Library

Usage statistics for OAI2 for CCK

Usage statistics for Book Post

Usage statistics for HILCC Taxonomy autotag

Monday, February 22, 2010

Friday, February 19, 2010

How to hide a Drupal-in-a-subdirectory installation in GoDaddy

Say you have a Drupal installation for testing purposes inside a subdirectory in your hosting account, like so:

and you want to make that installation replace/take over your site's home at:

The .htaccess file in your document root needs some changing, as well as the base_url in your settings.php file.

For the full instructions, read on at

Friday, January 22, 2010

Drupal tip: Adding "number of results" message to your View

Quick Drupal tip for Views 2. You can add some PHP code in your header or footer to display the amount of total results AND the number displayed in the page (if you're using paged results) using this tip:

Thanks to matteo.boria and kingandy for figuring it out!