[Koha] Adding menu links in navbar

Katrin Fischer katrin.fischer.83 at web.de
Tue Jul 17 06:11:23 NZST 2018


Hi,

as Michael pointed out changing the templates has the downside that your 
changes will get lost when updating Koha. Another way to achieve what 
you want to do is using a jQuery snippet in the OpacUserJs system 
preference.

For general instructions the wiki has a lot of examples:
https://wiki.koha-community.org/wiki/JQuery_Library

For example this would add an additional entry to the navigation below 
the search box:

$(document).ready(function(){$("#moresearches a").last().after('<span 
class="pipe"> | </span><ahref="link that you want">Link text</a>'); });

Hope this helps,

Katrin





More information about the Koha mailing list