[Koha-devel] New Feature: OpacNav

Joshua Ferraro jmf at liblime.com
Fri Feb 3 22:22:40 CET 2006


Hi all,

I just committed a new feature to rel_2_2: OpacNav. It allows a
library to specify HTML links on the left-hand navigation bar
in Owen's NPL templates (not sure about default). To use this,
simply add some HTML to OpacNav in system preferences. Here's
an example:

<ul>
<li><a href="http://liblime.com">www.liblime.com</a></li>
<li><a href="http://liblime.com/c/demos.html">LibLime Demos</a>        
<ul>                
<li><a href="/cgi-bin/koha/opac-main.pl">Catalog Home</a></li>
<li><a href="/cgi-bin/koha/opac-search.pl">Advanced Search</a></li>
<li><a href="/cgi-bin/koha/opac-user.pl">My Account</a></li>
<li><a href="/cgi-bin/koha/opac-shelves.pl">My Book Lists</a></li>
<li><a href="/cgi-bin/koha/opac-suggestions.pl">Purchase Suggestions</a></li>
<li><a href="http://koha.liblime.com">Koha Circ/Admin</a></li></ul></li>
</ul>

It will look like the left-hand bar in this OPAC:

http://opac.liblime.com

Paul/HDL, to add this to default, simply add:

<!--TMPL_VAR NAME="OpacNav" --> to navigation.inc (or equiv in 
default).

Cheers,

-- 
Joshua Ferraro               VENDOR SERVICES FOR OPEN-SOURCE SOFTWARE
President, Technology       migration, training, maintenance, support
LibLime                                Featuring Koha Open-Source ILS
jmf at liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS





More information about the Koha-devel mailing list