http://library.millsaps.edu/sp/subjects/index.php
Grinnell shared a script for a drop down menu that we have working on our home page if you need a drop down.
Molly McManus
Thanks for your advice!
Xi Chen
Oberlin College Library
--
You received this message because you are subscribed to the Google Groups "SubjectsPlus" group.
To post to this group, send email to subjec...@googlegroups.com.
To unsubscribe from this group, send email to subjectsplus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/subjectsplus?hl=en.
Xi-
You are correct... this was done in version 0.8 I have been playing around with the new version and have not yet found a way to do the same type of dropdown.
Bill Sargent
=======================================
William Sargent
Webmaster http://library.usm.maine.edu/
Electronic Reserve and Computer Support Specialist
Albert Brenner Glickman Family Library
314 Forest Ave
PO Box 9301
Portland ME 04104-9301
(207)780-4270 FAX:(207)780-4469
will...@usm.maine.edu
>>> "xiche...@gmail.com" <xiche...@gmail.com> 6/22/2011 1:56 PM >>>
Thank you Molly!
If you are looking for a dropdown - I’ll attach a zip file with the code that I use (given to me by Grinnell). It is pretty easy to install and allows you to create dropdowns for subject, course and topic guides. There is a readme file with instructions in the zip file.
Let me know if it does not come through and I can send it directly.
Molly
After talking with Xi, I think he was looking for something slightly
different from all the (excellent) suggestions everyone gave. He
wanted a page that would show, say, all the databases associated with
Biology. I had already started something along these lines a while
ago, so I decided to finish this and share.
If you follow the instructions, you will end up with a dropdown of
subjects that appears in your Database List page (see attached
screenshot for an example). What follows are the instructions plus
some notes plus a zip file.
1. Add the new function getDBbySubBoxes to control/includes/functions.php
2. Add a call to this function where you want the box to appear. I
added it to the getLetters() function in the
if ($table == "databases") { }
section, right before the close curly brace. But you could try
sticking this wherever you want the dropdown (I haven't tried this).
It's styled to match those A, B, C etc. boxes on the Database List
page, but you can change that.
3. Swap in the new databases.php file -- subjects/databases.php
4. Swap in the new sp_DbHandler.php file -- control/includes/classes/
Note that this new query in sp_DbHandler is slower than the old query
because it has to join with another table (rank) to get the associated
subjects into the mix. The old query is commented out in case you
want to revert and not use this after all. The dropdown box as of now
just pulls up the guides with a type of subject, and doesn't check
that it actually has any databases associated. You could tweak that
query in the getDBbySubBoxes function.
This hasn't been properly tested, let me know if it works for you. If
it does, I guess I'll add this into the next release as an option.
Andrew