[Koha] Koha 16.05 - Changing Material Type Values with JQuery?

Craig Butosi craig.butosi at rcmusic.ca
Sat Mar 11 07:45:53 NZDT 2017


Hi all,

Koha 16.05 on Ubuntu 14.04 (package install).

Has anyone successfully changed the Material Type field values (set by LDR/06) found in the XSLT templates using JQuery? I'd rather not edit templates directly.

I am trying to change the default value "Music" for bib records that are set to LDR/06 - j - Musical Sound Recording to read "Sound Recordings" instead. I.e.,:

$(".results_material_type:contains('Music')").text("Sound recording");

At the risk of stating the obvious, I am, of course, placing this script in OPACUSERJS.

Would a kind soul have any suggestions? Unsure where I'm going wrong here. Apologies if this is too off-topic.

Many thanks,

Craig Butosi, MA, MLIS, B Mus (Hons.)
LIBRARY SERVICES MANAGER
the royal conservatory
TELUS Centre for Performance and Learning
273 Bloor Street West
Toronto, ON M5S 1W2
416.408.2824 x338
www.rcmusic.ca<http://www.rcmusic.ca/>



Note: This email message and any attachments are intended only for the use of the individual to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the recipient of this email is not the intended recipient (or the employee or agent responsible for delivering the email to the intended recipient), you are hereby notified that any review, dissemination, distribution or copying or other use of this message is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return email and delete this message and attachments from your system, thank you.


More information about the Koha mailing list