I found the following jQuery in the Koha library for changing the text for "Place hold": $(document).ready(function(){ var holdlinks = $("a:contains('Place Hold'),a:contains('Place hold')"); $(holdlinks).text("Request Item"); }); $(window).load(function(){ $("input[value='Place Hold']").attr("value","Request Item"); }); It misses some instances like the at the top of the results page. Does anyone have code for this? We're on 3.18. Wonder if this is a case issue Thank you! -- Chad Roseburg Asst. Director / IT Automation Dept. North Central Regional Library
It misses some instances like the at the top of the results page.
I think it will work if you move everything into the $(window).load() function. The "place hold" control at the top of the results page is generated by JavaScript, so I think the $(document).load() function fires too soon to catch it. -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
Hello everybody, I wonder if it is possible, for the librarian staff only, extract a list of copies ordered for "collocation" (i.e. UNIMARC field 995 $k). The reason in simple, the volumes we are going to import in Koha are classified with category-codes (the "shelf") followed by a progressive index ("the position in the shelf") i.e. P5.05 is political movements '68 - '69 and P5.05.02 is political movements '68 - '69 in Italy and the copies are P5.05.02/1, P5.05.02/2, ... P5.05.02/399, ... When we have to insert a new copy of a given cathegory, using our current database, we can extract all the volumes in that particular collocation (i.e. P5.05.02) and easily check the greatest progressive index. The new arrived will be P5.05.02/greatest + 1. Have you idea on how can we get that result in Koha? More than that I wonder if is possible to extract a complete list of a single Library's copies in csv or xml format. Thanks a lot for all you are doing :-> tommaso -- Tommaso Spazzali Magritte S.n.c. di Paolo Ferrarese & C. Via Meda, 25 20136 - Milano tel: +39.02-89408830 PGP Key: http://pgpkeys.mit.edu:11371/ I dati personali che ci avete fornito o che ci fornirete saranno oggetto di trattamento ai sensi del D. Lgs. 196/2003 attraverso strumenti idonei a garantirne la sicurezza, per le finalita' connesse ad attivita' commerciali nonche' di adempimento ad obblighi di legge. Il titolare del trattamento e' la societa' Magritte S.n.c.. Vi ricordiamo che potete esercitare i diritti di cui all’art. 7 del D. Lgs. 196/2003 consultabili sul sito del garante della Privacy: http://www.garanteprivacy.it
Thanks for the suggestion Owen -- I'm working with a test server on 16.05 and it still leaves the "Place hold" in #selections-toolbar. On Mon, Jul 25, 2016 at 5:12 AM, Owen Leonard <oleonard@myacpl.org> wrote:
It misses some instances like the at the top of the results page.
I think it will work if you move everything into the $(window).load() function. The "place hold" control at the top of the results page is generated by JavaScript, so I think the $(document).load() function fires too soon to catch it.
-- Owen
-- Web Developer Athens County Public Libraries http://www.myacpl.org _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Chad Roseburg Asst. Director / IT Automation Dept. North Central Regional Library
pt 2 I moved it as you suggested and changed: $("input[value='Place Hold']").attr("value","Request Item"); to $("input[value='Place hold']").attr("value","Request Item"); This gets the selections-menu occurrence. I think that about does it. Thank you! Chad On Mon, Jul 25, 2016 at 5:12 AM, Owen Leonard <oleonard@myacpl.org> wrote:
It misses some instances like the at the top of the results page.
I think it will work if you move everything into the $(window).load() function. The "place hold" control at the top of the results page is generated by JavaScript, so I think the $(document).load() function fires too soon to catch it.
-- Owen
-- Web Developer Athens County Public Libraries http://www.myacpl.org _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Chad Roseburg Asst. Director / IT Automation Dept. North Central Regional Library
participants (3)
-
Chad Roseburg -
Owen Leonard -
tommaso spazzali