LINUX, FOSS AND LIBRARY TECHNOLOGY ENTHUSIAST

Thursday, March 12, 2020

Add Custom Links on OPAC Breadcrumb

0 comments
As we know Koha OPAC can be turned into a tiny library website or it can act as a Content Management System making changes on the page.pl file. Detailed documentation for creating Koha as a CMS is available at Koha Wiki. Here is a little tip for adding custom links on the OPAC Breadcrumb.

Step.1
Go to the opac-main.tt

sudo gedit  /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/en/modules/opac-main.tt

Add your page links below

 <ul class="breadcrumb">

Eg:  <li><a href="http://127.0.1.1/pages.pl?p=about-us">About Us</a>
        [% IF news_item %]
            <span class="divider">&rsaquo;</span></li>
            <li>[% news_item.title | html %]</li>
        [% END %]
        </li>


Result


Thank You...

No comments:

Post a Comment