[ List Archives Home ] [ Thread index for 2008 ] [ Date index for 2008 ] [ Author index for 2008 ]


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Emily --

All you have to do is to play with the HTML a bit:

This is essentially what you need on your home page:

The FORM Action HTML code needs the URL of your catalog with "/search~/a?a"

The dropdown box is for the searchtype (this gets sent instead of the first value of "a" in the string above).
The box (searcharg) is the box for entering a term. We have the hidden HTML to sort by date because it was defaulting to relevance in the past. I have not taken it out, but it might not need it any longer.

Here is sample code:

<FORM METHOD=POST ACTION=http://utmost.cl.utoledo.edu/search~/a?a >
Search the UTMOST Catalog:
<SELECT NAME=searchtype>
<OPTION VALUE=t SELECTED>TITLE
<OPTION VALUE=a>AUTHOR
<OPTION VALUE=d>SUBJECT
<OPTION VALUE=X>KEYWORD
<OPTION VALUE=c>LC CALL #
<OPTION VALUE=f>LOCAL CALL #
<OPTION VALUE=g>SuDoc CALL #
<OPTION VALUE=o>OCLC #
<OPTION VALUE=i>ISBN/ISSN
</SELECT>
<INPUT TYPE=TEXT NAME=searcharg MAXLENGTH=75 VALUE="">
<INPUT TYPE=HIDDEN NAME=SORT VALUE=D>
<INPUT TYPE="SUBMIT" VALUE="Search!">
</FORM>

Hope this helps. This is pretty basic and there are some far more interesting pages developed. They would go great in the IUG Clearinghouse.

Best -- Corey

Corey Seeman
Asst. Dean for Resource and Systems Management
University of Toledo

corey dot seeman at utoledo dot edu
http://library.utoledo.edu/userhomes/cseeman/
(419) 530-2333


________________________________

From: innopac-bounces at innopacusers dot org on behalf of Emily Lin
Sent: Mon 5/23/2005 6:28 PM
To: innopac at innopacusers dot org
Subject: search OPAC from library home?



We'd like to have a search box on our library's home page that will search the library catalog, instead of linking off to the catalog's page. Would anyone who has implemented this share how you did it?

Emily


--
This message was distributed through the Innovative Users Group INNOPAC list
Public replies: INNOPAC at innopacusers dot org
Update your subscription options: http://innopacusers.org/mailman/listinfo/innopac




--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---