[Koha] Change default text of login field name

Christopher Davis cgdavis at uintah.utah.gov
Wed Feb 10 07:25:07 NZDT 2016


Arturo and Mirko,

Thank you for your help...it did the trick for me.

Cordially,

Christopher Davis, MLS
Systems & E-Services Librarian
Uintah County Library
cgdavis at uintah.utah.gov
(435) 789-0091 ext.261
uintahlibrary.org
basinlibraries.org
facebook.com/uintahcountylibrary


On Tue, Feb 9, 2016 at 10:32 AM, Arturo Longoria
<Arturo.Longoria at sll.texas.gov> wrote:
> Hi Christopher,
>
> Changing the text for those fields is possible, but it needs to be done with JavaScript. Our library customizes those fields, too: http://catalog.sll.texas.gov.
>
> Below is the jQuery code you could adapt and plug in to the opacuserjs system preference. I'm not sure how familiar you are with JS or jQuery, so let me know if you need more guidance.
>
> var $myForm = $('form#auth');
> $myForm.find('label[for=userid]').text('Username or card number');
> $myForm.find('input[type=text]').attr('placeholder', 'username/card number');
> $myForm.find('label[for=password]').text('Password');
> $myForm.find('input[type=password]').attr('placeholder', 'your password');
>
> Arturo Longoria
> Reference Librarian/Web Manager
> Texas State Law Library
> www.sll.texas.gov
>
> -----Original Message-----
> From: Koha [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Christopher Davis
> Sent: Tuesday, February 09, 2016 11:24
> To: Koha <koha at lists.katipo.co.nz>
> Subject: [Koha] Change default text of login field name
>
> Dear Colleagues,
>
> I am looking for a way to change the default text of the "login" and "password" fields on our Koha OPAC webpages (see image found at <https://goo.gl/photos/9w1hN6tefQrGp1G8A>). Is this done via the "NoLoginInstructions" system preference or...? The Koha user manual page found at <http://manual.koha-community.org/3.18/en/administration.html#nologininstructions>
> indicates that this preference will not have the same affect as what I am looking for, but maybe I am reading it wrong(?).
>
> TIA,
>
>
> Christopher Davis, MLS
> Systems & E-Services Librarian
> Uintah County Library
> cgdavis at uintah.utah.gov
> (435) 789-0091 ext.261
> uintahlibrary.org
> basinlibraries.org
> facebook.com/uintahcountylibrary
> _______________________________________________
> Koha mailing list  http://koha-community.org Koha at lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list