[Koha] queries in koha

Bernardo Gonzalez Kriegel bgkriegel at gmail.com
Wed Apr 17 22:58:28 NZST 2013


Dennis,
the wiki page pointed by Katrin said:
--begin
You must include
  $(document).ready(function(){ <multiple statements go here> });
inside the preference, around your statements. Examples listed below are
considered "statements."
--end

So, you are forgetting that function. Please try
 $(document).ready(function(){ $("#memberentry_contact
label[for='phone']").html("my primary phone :"); });

It works.

Regards,
Bernardo


-- 
Bernardo Gonzalez Kriegel
bgkriegel at gmail.com


On Wed, Apr 17, 2013 at 7:19 AM, Dennis Njuguna <cknjuguna at gmail.com> wrote:

> 1. I go to IntranetUserJS using the administration, global system
> perferences
> 2. then I try
>
>  $("#memberentry_contact label[for='phone']").html("my primary phone :");
>
>
>
> but I see no change once I save and open the patrons' page
>
> is it something im missing?
>
>
>
> On Wed, Apr 17, 2013 at 12:46 PM, Dennis Njuguna <cknjuguna at gmail.com>
> wrote:
> >
> > Thanks alot, then my best option would be the IntranetUserJS way, I
> wonder what I'm not doing right:
> >
> > 1. I go to IntranetUserJS using the administration, global system
> perferences
> > 2. then I try
> >
> >  $("#memberentry_contact label[for='phone']").html("my primary phone :");
> >
> >
> >
> > but I see no change once I save and open the patrons' page
> >
> > is it something im missing?
> >
> >
> >
> >
> > On Wed, Apr 17, 2013 at 11:22 AM, Fischer, Katrin <
> Katrin.Fischer at bsz-bw.de> wrote:
> >>
> >> Hi,
> >>
> >> please don't change the database structure in Koha as this will cause
> all kinds of problems for you. If you need the field to be directly in the
> borrowers table, you could try relabeling it in the interface using jQuery
> ( http://wiki.koha-community.org/wiki/JQuery_Library). Another option is
> using patron attributes, that allow you to configure additional fields for
> patron records in a nice way (
> http://manual.koha-community.org/3.12/en/patscirc.html#patronattributetypes
> ).
> >>
> >> Hope this helps,
> >>
> >> Katrin
> >>
> >>
> >> > -----Original Message-----
> >> > From: koha-bounces at lists.katipo.co.nz [mailto:koha-
> >> > bounces at lists.katipo.co.nz] On Behalf Of Dennis Njuguna
> >> > Sent: Wednesday, April 17, 2013 10:08 AM
> >> > To: koha at lists.katipo.co.nz
> >> > Subject: [Koha] queries in koha
> >> >
> >> > Hi all I need some help here, Im am supposed to link koha and the main
> >> > financial system of our school, i.e patrons who are students I need to
> >> > either rename a field in koha called Admission Number and have it
> >> > mandatory, I was thinking of using the field "Sort1" or "Initials" and
> have
> >> > it mandatory like field "Surname" or "Zip/Postal"
> >> >
> >> > I have renamed it in mysql but its not renamed in koha.
> >> >
> >> > is this even possible in the first place?
> >> >
> >> > --
> >> >
> >> > Dennis K. Njuguna
> >> > _______________________________________________
> >> > Koha mailing list  http://koha-community.org Koha at lists.katipo.co.nz
> >> > http://lists.katipo.co.nz/mailman/listinfo/koha
> >> >
> >>
> >
> >
> >
> > --
> >
> > Dennis K. Njuguna
>
>
>
>
> --
>
> Dennis K. Njuguna
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>


More information about the Koha mailing list