Code Snippets

These code snippets can be used to enhance your KLOW site. They can be pasted directly into a text widget. Please feel free to steal them.

Hoopla Button

<a href=”http://www.hoopladigital.com”><img src=”http://nekls.org/wp-content/uploads/2015/10/hoopla-1015.jpg” alt=”” />

NExpress Search Bar

<form id=”searchform” action=”http://nekls.kohalibrary.com/cgi-bin/koha/opac-search.pl” method=”get” name=”searchform”><input type=”hidden” />
<input id=”q” name=”q” size=”20″ type=”text” />
<input id=”kcs_submit” class=”submit” name=”kcs_submit” type=”submit” value=”Search” />

Branch Specific Search Box (put your branch name in over WINCHESTER:

<form id=”searchform” action=”http://nekls.kohalibrary.com/cgi-bin/koha/opac-search.pl” method=”get” name=”searchform”><input name=”limit” type=”hidden” value=”branch:WINCHESTER” />
<input type=”hidden” />
<input id=”q” name=”q” size=”20″ type=”text” />
<input id=”kcs_submit” class=”submit” name=”kcs_submit” type=”submit” value=”Search” /></form>[/sourcecode]

NExpress Catalog Log in button
<a href=”http://catalog.nexpresslibrary.org/cgi-bin/koha/opac-user.pl</a>
<img src=”http://www.tonganoxielibrary.org/wp-content/uploads/2008/08/nexpressbutton.jpg”><br>

<h6>Funded by the State Library of Kansas through a grant from the U.S. Institute of Museum and Library Services.</h6>

NExpress catalog log in boxes
<div id=”featured” class=”box”>
<h3>Library Catalog Login</h3>
<div class=”textwidget”></div>
</div>
<form action=”http://catalog.bonnerlibrary.org/cgi-bin/koha/opac-user.pl” method=”post” name=”auth” id=”auth”> <input name=”koha_login_context” type=”hidden” value=”opac” />
<fieldset class=”brief”><legend>Log in to Your Account:</legend>
<ol>
<li><label for=”userid”>Login:</label><input id=”userid” name=”userid” size=”10″ type=”text” /></li>
</ol>
</fieldset>
</form>
<ul>
<li><label for=”password”>Password:</label><input id=”password” name=”password” size=”10″ type=”password” /></li>
</ul>

<fieldset class=”action”><input class=”submit” type=”submit” value=”Log In” /></fieldset>