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.

Tuesday, 22 January 2019

Easy Way to set up E-mail Alert for your Koha Server (If your Institution has own SMTP Server)

If your Institution has own SMTP mail server, then it is not require to install any external Mail Transfer Agent (MTA) like Postfix, Exim on your Koha server. Just follow few instructions user as given below and send e-mail transaction alert to your library :

Step 1: Check Perl path with perl -V | sed -n '/INC:/,$p' (Have a look at /etc/perl/Mail)

Open your terminal and use following command to check:
(i) cd /etc/perl/Mail
(ii) ls -l

Step 2: Create a directory using the following command:

mkdir -p /etc/perl/Mail

Step 3: Copy Sendmail.pm file to newly created directory using the following command: 

cp -p /usr/share/perl5/Mail/Sendmail.pm /etc/perl/Mail/Sendmail.pm
Step 4: Use the following commands to edit your local Sendmail.pm and change the line:

(i) nano /etc/perl/Mail/Sendmail.pm

(ii) Replace localhost with your institution SMTP host:

'smtp' => [ qw( localhost ) ]

Replace localhost by putting your institution SMTP host like
'smtp' => [ qw( mail.example.com ) ]

Information Courtesy: David Keegel