Snippets

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
mcagney-gdo's picture

Drop-Down Menu for Frequently used Databases

Hello,

We're working on implementing a drupal library website at library.wheaton.edu and need to create a drop-down box like the Research by Subject link at http://library.queensu.ca/

Does anybody have any code that would do this for us?

Read more

EZProxy, Drupal Auth and SOPAC 2

Most probably already have a module local as this is so easy but here is a snippet people can work off of. The code below doesn't do much error checking or anything. You'd likely want to edit the below to make it more robust. The one below checks a SOPAC 2 table to make sure that they have a verified library card associated with the account. This prevents normal drupal accounts that don't have a library card from accessing resources. If you use some other module to add cards to profiles you would want to use that field instead. You may also want to use SSL though I haven't checked how well EZProxy handles it for external script auth. This presumes your using normal drupal accounts and not things like LDAP, etc.

For ezproxy you would use something like this for your auth:

::external=http://yourdrupallib.org/ezproxyauth,post=ezuser=^u&ezpass=^p,valid=+OK

Feel free to edit the below to make it better.

Read more

Library Snippets

Please feel free to attach snippets to this page. Add a description to the text.

Hyperlinked Call Numbers Using the Biblio Module

by John Bickar (cubbtech), Stanford University Libraries
To dynamically generate a hyperlinked call number relating to where the book would be shelved (e.g., https://www.stanford.edu/group/cubberley/node/329,

Read more
Subscribe with RSS Syndicate content

Libraries

Group organizers

Group categories

Resources

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: