Well I managed to do it in a different way....it actually worked. May help someone as well.<div><br></div><div>This is what I did.</div><div><br></div><div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<!-- Adding Biblio Search option --></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<div id="search-bib" class="container"></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<span class="Apple-tab-span" style="white-space:pre">        </span><fieldset></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<span class="Apple-tab-span" style="white-space:pre">                </span><legend>Search Biblio:</legend></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<span class="Apple-tab-span" style="white-space:pre">                        </span><form name="searchform-bib" method="get" action="/cgi-bin/koha/catalogue/<a href="http://detail.pl">detail.pl</a>" id="searchform-bib"></blockquote>
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<input type="hidden" name="idx" value="" /></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<label for="navkeyword"></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
Search biblionumber:&nbsp;</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
</label><input type="text" id="navkeyword" name="biblionumber" size="10" accesskey="biblionumber" /></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<input type="submit" value=" OK " class="submit" /></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<span class="Apple-tab-span" style="white-space:pre">        </span></form></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<span class="Apple-tab-span" style="white-space:pre">        </span></fieldset></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
</div></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<!-- END of Biblio Search --></blockquote></blockquote><div><br></div><div>Add these lines in </div><div><br></div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/modules/intranet-main.tmpl</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/modules/catalogue/advsearch.tmpl</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
/usr/share/koha/opac/htdocs/opac-tmpl/prog/en/modules/opac-advsearch.tmpl</blockquote></blockquote><div><br></div><div>And that's all.</div><div><br></div><div>Thankyou.</div><div><br></div><div> </div><div class="gmail_quote">
On Thu, Nov 19, 2009 at 1:08 AM, Marijana Glavica <span dir="ltr"><<a href="mailto:mglavica@ffzg.hr">mglavica@ffzg.hr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Nov 18, 2009 at 11:33:07PM -0800, nitesh rijal wrote:<br>
> Hello all.<br>
><br>
> I wanted to add a new search field in KOHA default search to find the<br>
> records according to their biblionumber.<br>
><br>
> I have seen that arguments can be passed to the <a href="http://details.pl" target="_blank">details.pl</a> to show record<br>
> of a particular biblionumber through the browser query string.<br>
><br>
> I just wanted to add a search box that accepts biblionumber and sends the<br>
> user to the particular details page of respective biblionumber.....what<br>
> file should I write them on???<br>
<br>
<br>
</div>We had similar need and I managed that with Firefox serch plugin. We<br>
wanted to searh by some local identification number and redirect search<br>
results directly to items editor.<br>
<br>
I made copy of <a href="http://search.pl" target="_blank">search.pl</a> to <a href="http://search2.pl" target="_blank">search2.pl</a> with just one line changed:<br>
<br>
print $cgi->redirect("/cgi-bin/koha/catalogue/<a href="http://detail.pl?biblionumber=$biblionumber" target="_blank">detail.pl?biblionumber=$biblionumber</a>");<br>
changed to:<br>
print $cgi->redirect("/cgi-bin/koha/cataloguing/<a href="http://additem.pl?biblionumber=$biblionumber" target="_blank">additem.pl?biblionumber=$biblionumber</a>");<br>
<br>
The plugin itself looks like this:<br>
<br>
<OpenSearchDescription xmlns="<a href="http://a9.com/-/spec/opensearch/1.1/" target="_blank">http://a9.com/-/spec/opensearch/1.1/</a>"<br>
xmlns:moz="<a href="http://www.mozilla.org/2006/browser/search/" target="_blank">http://www.mozilla.org/2006/browser/search/</a>"><br>
<ShortName>KOHA ID</ShortName><br>
<Description>KOHA ID</Description><br>
<InputEncoding>windows-1250</InputEncoding><br>
<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><br>
<Url type="text/html" method="GET" template="<a href="http://xxx:8080/cgi-bin/koha/catalogue/search2.pl" target="_blank">http://xxx:8080/cgi-bin/koha/catalogue/search2.pl</a>"><br>
<Param name="idx" value="sn,phr"/><br>
<Param name="q" value="{searchTerms}"/><br>
</Url><br>
<moz:SearchForm><a href="http://xxx:8080/" target="_blank">http://xxx:8080/</a></moz:SearchForm><br>
</OpenSearchDescription><br>
<br>
<br>
<br>
<br>
Regards,<br>
Marijana<br>
<br>
_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Nitesh Rijal<br>BE IT<br>email: <a href="http://rijal.it">rijal.it</a>@<a href="http://gmail.com">gmail.com</a><br>url: <a href="http://niteshrijal.com.np">http://niteshrijal.com.np</a><br>
facebook: <a href="http://facebook.com/openrijal">http://facebook.com/openrijal</a><br>twitter: <a href="http://twitter.com/openrijal">http://twitter.com/openrijal</a><br>+9779841458173<br>
</div>