[Koha] Help needed in KOHA interface

nitesh rijal rijal.it at gmail.com
Thu Nov 19 23:02:51 NZDT 2009


Well I managed to do it in a different way....it actually worked. May help
someone as well.

This is what I did.

 <!-- Adding Biblio Search option -->
>
> <div id="search-bib" class="container">
>
>  <fieldset>
>
>  <legend>Search Biblio:</legend>
>
>  <form name="searchform-bib" method="get" action="/cgi-bin/koha/catalogue/
>> detail.pl" id="searchform-bib">
>
>                   <input type="hidden" name="idx" value="" />
>
>                  <label for="navkeyword">
>
>                          Search biblionumber:&nbsp;
>
>                  </label><input type="text" id="navkeyword"
>> name="biblionumber" size="10" accesskey="biblionumber" />
>
>                  <input type="submit" value=" OK " class="submit" />
>
>          </form>
>
>    </fieldset>
>
> </div>
>
> <!-- END of Biblio Search -->
>
>
Add these lines in

/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/modules/intranet-main.tmpl
>
>
>>
>> /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/modules/catalogue/advsearch.tmpl
>
>
>> /usr/share/koha/opac/htdocs/opac-tmpl/prog/en/modules/opac-advsearch.tmpl
>
>
And that's all.

Thankyou.


On Thu, Nov 19, 2009 at 1:08 AM, Marijana Glavica <mglavica at ffzg.hr> wrote:

> On Wed, Nov 18, 2009 at 11:33:07PM -0800, nitesh rijal wrote:
> >    Hello all.
> >
> >    I wanted to add a new search field in KOHA default search to find the
> >    records according to their biblionumber.
> >
> >    I have seen that arguments can be passed to the details.pl to show
> record
> >    of a particular biblionumber through the browser query string.
> >
> >    I just wanted to add a search box that accepts biblionumber and sends
> the
> >    user to the particular details page of respective
> biblionumber.....what
> >    file should I write them on???
>
>
> We had similar need and I managed that with Firefox serch plugin. We
> wanted to searh by some local identification number and redirect search
> results directly to items editor.
>
> I made copy of search.pl to search2.pl with just one line changed:
>
> print $cgi->redirect("/cgi-bin/koha/catalogue/
> detail.pl?biblionumber=$biblionumber");
> changed to:
> print $cgi->redirect("/cgi-bin/koha/cataloguing/
> additem.pl?biblionumber=$biblionumber");
>
> The plugin itself looks like this:
>
> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
>        xmlns:moz="http://www.mozilla.org/2006/browser/search/">
> <ShortName>KOHA ID</ShortName>
> <Description>KOHA ID</Description>
> <InputEncoding>windows-1250</InputEncoding>
> <Image width="16"
> height="16">data:image/gif,%00%00%01%00%01%00%10%10%00%00%01%00%08%00h%05%00%00%16%00%00%00(%00%00%00%10%00%00%00%20%00%00%00%01%00%08%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%003%CC%99%00%E8%E8%E8%00%60%60%60%00rrr%00%F2%F2%F2%00%F1%F1%F1%00%2B%2B%2B%00%85%85%85%00%FB%FB%FB%00%FE%FE%FE%00%87%87%87%00%2C%2C%2C%00%AC%AC%AC%00%FA%FA%FA%00%F7%F7%F7%00%F9%F9%F9%00%83%83%83%00CCC%00%F3%F3%F3%00%E2%E2%E2%00%A3%A3%A3%00%96%96%96%00%E4%E4%E4%00111%00%DE%DE%DE%00ggg%00%05%05%05%00%0E%0E%0E%00%CF%CF%CF%00%06%06%06%00%AA%AA%AA%00%C3%C3%C3%00%8B%8B%8B%00%B6%B6%B6%00%D1%D1%D1%00%BC%BC%BC%00lll%00%E3%E3%E3%00%F6%F6%F6%00%5B%5B%5B%00%19%19%19%00%1D%1D%1D%00%C5%C5%C5%00%F0%F0%F0%00%89%89%89%00ttt%00222%00%D2%D2%D2%00%12%12%12%00%D6%D6%D6%00%01%01%01%00%DA%DA%DA%00%AB%AB%AB%00(((%00%EB%EB%EB%00BBB%00%16%16%16%00%1E%1E%1E%00%A5%A5%A5%00WWW%00%8A%8A%8A%00%D9%D9%D9%00666%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%FF%FF%FF%00%01%01%01%01%01%01%01%01%01%01%01%01%01%01%01%01%01%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%01%01%FF%FF%FF%3C%3D%0A%0A%3E%18%3F%13%FF%FF%FF%01%01%FF%FF%FF%0367789%3A%3B%FF%FF%FF%01%01%FF%FF%FF010234%FF5%FF%FF%FF%01%01%FF%FF%FF%2C%1E-.%2F%10%FF%FF%FF%FF%FF%01%01%FF%FF%FF'()*%2B%FF%FF%FF%FF%FF%FF%01%01%FF%FF%FF%0A%24%00%25%26%FF%FF%FF%FF%FF%FF%01%01%FF%FF%FF%FF%1D%1E%1F%20!%22%23%FF%FF%FF%01%01%FF%FF%FF%FF%17%18%16%19%1A%1B%1C%FF%FF%FF%01%01%FF%FF%FF%FF%10%11%12%13%14%15%16%FF%FF%FF%01%01%FF%FF%FF%FF%0A%0B%0C%0D%FF%0E%0F%FF%FF%FF%01%01%FF%FF%FF%FF%FF%06%07%08%09%FF%FF%FF%FF%FF%01%01%FF%FF%FF%FF%02%03%00%04%05%FF%FF%FF%FF%FF%01%01%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%FF%01%01%01%01%01%01%01%01%01%01%01%01%01%01%01%01%01%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00</Image>
> <Url type="text/html" method="GET" template="
> http://xxx:8080/cgi-bin/koha/catalogue/search2.pl">
>        <Param name="idx" value="sn,phr"/>
>        <Param name="q" value="{searchTerms}"/>
> </Url>
> <moz:SearchForm>http://xxx:8080/</moz:SearchForm>
> </OpenSearchDescription>
>
>
>
>
> Regards,
> Marijana
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>



-- 
Nitesh Rijal
BE IT
email: rijal.it at gmail.com
url: http://niteshrijal.com.np
facebook: http://facebook.com/openrijal
twitter: http://twitter.com/openrijal
+9779841458173
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20091119/0a5fc295/attachment.htm 


More information about the Koha mailing list