Koha News

Embedable Koha Search Form

I often have people ask me how to put a Koha search block on their website. It’s pretty simple so I thought I should share it here with you all. Just copy and paste the following code in to your library website and update the YOURCATALOG bit with your catalog’s URL and you’re set to go.

<form name="searchform" method="get" action="http://YOURCATALOG/cgi-bin/koha/opac-search.pl" id="searchform">
<input id="transl1" name="q" type="text"><p>
<select name="idx" id="masthead_search">
<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>
<input value="Search" id="searchsubmit" type="submit">

Read more by Nicole C.

Tags design tutorial