[Koha] The Terrific Every-Other-Thursday Training Video - S2E6 - Koha jQuery, VBA & Git: Backing Up Notices & Reports

2021-10-28 Thread BRANNON, CHRISTOPHER
When it's time to change then it's time to change. Don't fight the tide, go along for the ride. Don't ya see? When it's time to change, you've got to rearrange what you report and how you're gonna communicate. (Sha na na na na na na na na, Sha na na na na!) Just make sure you have good backups!

[Koha] jquery to make checkout history the default view in intranet

2017-09-20 Thread schnydszch
Dear all, Anybody tried making IntranetBiblioDefaultView other than MARC form, ISBD form, labelled MARC form and normal form (e.g. Checkout history). I'm trying to change it to jquery but can't seem to make it work. Anyone who already tried this? Cheers and thanks in advance! -- Sent from: http:

Re: [Koha] jQuery: Change default active tab in borrower account page

2015-03-21 Thread Chad Roseburg
Thanks guys -- this is perfect! On Mar 20, 2015 11:42 AM, "Kyle Hall" wrote: > Thanks Jonathan! > > http://www.kylehall.info > ByWater Solutions ( http://bywatersolutions.com ) > Meadville Public Library ( http://www.meadvillelibrary.org ) > Crawford County Federated Library System ( http://www.c

Re: [Koha] jQuery: Change default active tab in borrower account page

2015-03-20 Thread Kyle Hall
Thanks Jonathan! http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com ) On Fri, Mar 20, 2015

Re: [Koha] jQuery: Change default active tab in borrower account page

2015-03-20 Thread Jonathan Druart
href.replace("pay", "boraccount"); won't modify href Try with href = href.replace("pay", "boraccount"); This should work :) 2015-03-20 12:52 GMT+01:00 Kyle Hall : > This should work in theory, but my href.replace line isn't working: > > $( document ).ready(function() { > var a = $("#me

Re: [Koha] jQuery: Change default active tab in borrower account page

2015-03-20 Thread Kyle Hall
This should work in theory, but my href.replace line isn't working: $( document ).ready(function() { var a = $("#menu a[href*='/cgi-bin/koha/members/pay.pl']"); var href = a.attr('href'); href.replace("pay", "boraccount"); a.attr('href', href ); }); Perhaps someone else can catch

[Koha] jQuery: Change default active tab in borrower account page

2015-03-19 Thread Chad Roseburg
Currently, the patron fines link in the staff interface links to: Eg., http://koha.testing.com/cgi-bin/koha/members/pay.pl?borrowernumber=611739 We're wondering if it's possible, through the magic of jQuery, to have it link to: http://koha.ncrl.org/cgi-bin/koha/members/boraccount.pl?borrowernumber

Re: [Koha] Jquery

2014-08-12 Thread Owen Leonard
Sorry to have sent an empty reply! Clumsy fingers this morning. > How would I add multiple statements in opacuserjs. e.g. You can. You can do multiple document.ready() blocks if you want, or combine them: $(document).ready(function(){ // All the events which will run when the page is ready $

Re: [Koha] Jquery

2014-08-12 Thread Owen Leonard
On Fri, Aug 8, 2014 at 10:18 AM, Chrispin Simasiku Sitali wrote: > Greetings to all, > > How would I add multiple statements in opacuserjs. e.g. > > $(document).ready(function(){ > $("#auth legend:contains('Log in to your account')").text("Log in to > your library account"); > $("#auth label[f

[Koha] Jquery

2014-08-08 Thread Chrispin Simasiku Sitali
Greetings to all, How would I add multiple statements in opacuserjs. e.g. $(document).ready(function(){ $("#auth legend:contains('Log in to your account')").text("Log in to your library account"); $("#auth label[for='userid']").html("Library Card Number:"); $("#auth label[for='password']").

Re: [Koha] jquery : barcode triggers submit

2014-07-23 Thread Jared Camins-Esakov
Chad, > A better solution is to remove this class : > $("tag_952_subfield_p_971027").removeClass("noEnterSubmit"); And, of course, you will need a valid selector. 971027 is a random number, and the "tag_952..." is an id and not a tag name. Something like $('input[id^="tag_952_subfield_p"]') mig

Re: [Koha] jquery : barcode triggers submit

2014-07-22 Thread Fridolin SOMERS
Hie, This behavior is added by the JS code : $("fieldset.rows input, fieldset.rows select").addClass("noEnterSubmit"); A better solution is to remove this class : $("tag_952_subfield_p_971027").removeClass("noEnterSubmit"); Le 22/07/2014 23:20, Chad Roseburg a écrit : Our cataloging depart

[Koha] jquery : barcode triggers submit

2014-07-22 Thread Chad Roseburg
Our cataloging department liked the short-lived behavior in 3.14 where scanning barcodes would submit forms [ no one else did ]. I decided to try and reintroduce that for the cataloging module only -- testing using greasemonkey. Here's what I've got so far [ doesn't work ]: $('tag_952_subfield_p_9

Re: [Koha] JQuery Help to Choose Tab

2014-06-03 Thread Fridolin SOMERS
Much faster and simple : each page (intranet and opac) has an id on the body : For example for mainpage : $(document).ready(function(){ $("body#main_intranet-main #header_search a[href='#catalog_search']").click(); }); Le 03/06/2014 15:19, Nicole Engard a écrit : On Tue, Jun 3, 2014 at 12:

Re: [Koha] JQuery Help to Choose Tab

2014-06-03 Thread Nicole Engard
On Tue, Jun 3, 2014 at 12:58 AM, Fridolin SOMERS < fridolin.som...@biblibre.com> wrote: > > $(document).ready(function(){ > $("#header_search a[href='#catalog_search']").click(); > }); That works on every page in the staff client, but if I wanted it to work on the main page only so I edited i

Re: [Koha] JQuery Help to Choose Tab

2014-06-03 Thread Fridolin SOMERS
Hie, I think I have a working code. It simply simulates the user click on the tab title : $(document).ready(function(){ $("#header_search a[href='#catalog_search']").click(); }); Best regards, Le 03/06/2014 04:38, Nicole Engard a écrit : Hi all, I'm wondering if you could help. I want to h

[Koha] JQuery Help to Choose Tab

2014-06-02 Thread Nicole Engard
Hi all, I'm wondering if you could help. I want to have 'Search the Catalog' selected first on the main staff client page, but the code has changed A LOT in 3.16 and my old JQuery doesn't work. Any tips on how to write this would be appreciated because my attempts have failed. Nicole

Re: [Koha] koha jquery to hide 'Title Notes'

2014-02-19 Thread schnydszch
Thanks Stefano i'll try that once i get back in front of my computer.cheers! -- View this message in context: http://koha.1045719.n5.nabble.com/koha-jquery-to-hide-Title-Notes-tp5787702p5788029.html Sent from the Koha-general mailing list archive at Nabbl

Re: [Koha] koha jquery to hide 'Title Notes'

2014-02-19 Thread Stefano Bargioni
t; of this is to hide Title Notes tab. I looked at the Koha jquery wiki, tried > those available there that will fit what I need, just trial and error, and > so I came up with this: > $(document).ready(function(){ > $("ul li:contains('Title notes')").hide(); > });

[Koha] koha jquery to hide 'Title Notes'

2014-02-18 Thread schnydszch
Hello Koha community! I'm trying to customize a Koha ILSusing 3.14.x and one of this is to hide Title Notes tab. I looked at the Koha jquery wiki, tried those available there that will fit what I need, just trial and error, and so I came up with this: $(document).ready(function(){

Re: [Koha] JQuery Help

2013-08-27 Thread Nicole Engard
Bernardo, Sorry ... it didn't work on /cgi-bin/koha/tools/modborrowers.pl , but it did on the other. Nicole On Tue, Aug 27, 2013 at 7:19 PM, Nicole Engard wrote: > Thank you! > > On Tue, Aug 27, 2013 at 9:43 AM, Bernardo Gonzalez Kriegel > wrote: >> Nicole, >> one more line is needed to change

Re: [Koha] JQuery Help

2013-08-27 Thread Nicole Engard
Thank you! On Tue, Aug 27, 2013 at 9:43 AM, Bernardo Gonzalez Kriegel wrote: > Nicole, > one more line is needed to change sort1 on those two places, > the last one > > $(document).ready(function(){ > > $("#memberentry_library_management label[for='sort1']").html("Jurisdiction > :"); > $("#patron

Re: [Koha] JQuery Help

2013-08-27 Thread Bernardo Gonzalez Kriegel
Nicole, one more line is needed to change sort1 on those two places, the last one $(document).ready(function(){ $("#memberentry_library_management label[for='sort1']").html("Jurisdiction :"); $("#patron-library-details .label:contains('Sort field 1:')").html('Jurisdiction:'); $("fieldset.rows lab

[Koha] JQuery Help

2013-08-26 Thread Nicole Engard
I'd like to update this jquery http://wiki.koha-community.org/wiki/JQuery_Library#Relabel_Sort1_on_Patron_Record to also change sort1 on these pages: /cgi-bin/koha/tools/modborrowers.pl /cgi-bin/koha/tools/import_borrowers.pl Any help would be appreciated.

Re: [Koha] jquery and selectors

2012-08-16 Thread Landers, Paul
This is exactly the answer I was looking for. Thanks a million! On Aug 16, 2012, at 9:21 AM, Owen Leonard wrote: These seem to be "Koha" elements rather than standard DOM elements. How would I know that, or am I missing something? For the purposes of what you're doing there's no Koha versus "

Re: [Koha] jquery and selectors

2012-08-16 Thread Owen Leonard
> These seem to be "Koha" elements rather than standard DOM elements. How > would I know that, or am I missing something? For the purposes of what you're doing there's no Koha versus "standard DOM." jQuery looks at whatever markup is on the page. When you see this: $("#memberentry_contact label[

Re: [Koha] jquery and selectors

2012-08-14 Thread Landers, Paul
Owen, this was very helpful for some related questions, but I'm still not sure I understand for to define an element for a specific Koha page. For example, on the query wiki are these 3 examples: $("#memberentry_contact label[for='phone']").html("Primary Phone :"); $("#memberentry_messagin

Re: [Koha] jquery and selectors

2012-08-14 Thread Owen Leonard
> But how do we determine the > selector for any particular element on any particular Koha page? I'm not sure > that I see that FireBug reveals 'opac-main-search' as part of any element's > description in the OPAC. I wrote some about that for KohaCon 2009. Jump to the "Fine control with your cust

[Koha] jquery and selectors

2012-08-14 Thread Landers, Paul
When creating jquery functions, how can we determine the correct Koha syntax for various selectors on specific pages? For example, the jquery wiki includes an example that applies to #opac-main-search. But how do we determine the selector for any particular element on any particular Koha page? I

Re: [Koha] JQUERY AJAX calls not working

2011-09-25 Thread Auninda Rumy Saleque
ah sorry about the late reply. i figured out the reason. it was due to a cross domain url issue. the ajax calls i was trying to make from inside the opac were to a different domain which in return cancelled out my ajax calls. currently i am looking for other options to avoid the restriction. Thank

Re: [Koha] JQUERY AJAX calls not working

2011-09-25 Thread Owen Leonard
> I am having trouble executing any jquery ajax calls placed under > 'intranetuserjs' block found in the 'staff client' admin section. If you post your code we might be able to make suggestions. -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org

[Koha] JQUERY AJAX calls not working

2011-09-25 Thread Auninda Rumy Saleque
Hello all, I am having trouble executing any jquery ajax calls placed under 'intranetuserjs' block found in the 'staff client' admin section. i did a few searching and it seems the ajax jquery code placed under this section are treated as offline codes and giving out ajax error code 0 if debugged.