Integrating Koha Search Interface Into Your Library Website

koha search interface

1. Select the portion of your library Website from the home page, where to display the Search Interface of  Koha OPAC

2. Copy and paste the following HTML code into a selected portion of your Library Website Home Page and then you will need to modify the koha OPAC URLitem codes, and name of the item as per your Koha system and save.

<div style="background-color: #87CEEB; border-radius: 7px; border: 3px solid blue;">

<div><form id="searchform" action="Your Koha OPAC URL/IP Address/cgi-bin/koha/opac-search.pl" method="get" name="searchform">

<table style="height: 50px; width: 600px;">

<tbody>

<tr style="height: 50px;">

<td style="width: 90px; height: 50px;"><select id="masthead_search" name="idx">

<option value="kw">Keyword</option>

<option value="ti">Title</option>

<option value="au">Author</option>

<option value="su">Subject</option>

<option value="nb">ISBN</option>

<option value="se">Series</option>

<option value="callnum">Call Number</option>

<option value="bc">Accession No.</option>

</select></td>

<td style="width: 90px; height: 50px;"><select id="limitfiler" style="margin-left: 5px;" name="limit">

<option value="">-- Item type --</option>

<option value="mc-itype:BK">Textbooks</option>

<option value="mc-itype:GB">Gifted Books</option>

<option value="mc-itype:PR">Project Reports</option>

<option value="mc-itype:RB">Reference Books</option>

<option value="mc-itype:PER">Periodicals</option>

</select></td>

<td style="width: 500px; height: 50px;"><input id="transl1" name="q" type="text" placeholder="Enter the Keywords" /><input id="searchsubmit" type="submit" value="Search" /></td>

</tr>

</tbody>

</table>

</form></div>

</div>

Now refresh your web browser and start searching the koha library catalog through your Library Website.

Info. Courtesy: https://listechsavvy.blogspot.com/2019/03/steps-to-create-faceted-search.html

No comments

Powered by Blogger.