Horizontal Navigation

Wednesday 27 March 2019

How to Create Faceted Search Interface of Koha Catalog in your Library Website Home Page

The following Steps to Create Faceted Search Interface of Koha Catalog in your Library Website Home Page:


Step 1: Identify the portion of your Library Website Home Page to display Search Interface of Koha Catalog

Step 2: Copy and paste the following HTML code in selected portion of your Library Website Home Page and then modify the highlighted portion of this code in red colour as per your Koha ILS and save.

<div style="background-color: #e6e6ff; border-radius: 5px; border: 2px solid blue;">
<div><form id="searchform" action="PUT YOUR KOHA CATALOGUE URL HERE/cgi-bin/koha/opac-search.pl" method="get" name="searchform">
<table style="height: 58px; width: 686px;">
<tbody>
<tr style="height: 44px;">
<td style="width: 98px; height: 44px;"><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: 98px; height: 44px;"><select id="limitfiler" style="margin-left: 4px;" name="limit">
<option value="">-- filter by Item type --</option>
<option value="mc-itype:BK">Textbooks</option>
<option value="mc-itype:REF">Reference Books</option>
<option value="mc-itype:GT">Gifted Books</option>
<option value="mc-itype:BB">Book Bank</option>
</select></td>
<td style="width: 572px; height: 44px;"><input id="transl1" name="q" type="text" placeholder="Enter Here" /><input id="searchsubmit" type="submit" value="Search" /></td>
</tr>
</tbody>
</table>
</form></div>
</div>

Step 3:  Refresh your Browser and start searching Koha Library Catalog through your Library Website Home Page.

No comments:

Post a Comment