Re: [Koha] Ebook display in the opac

2019-02-20 Thread Katharina Klausner
Hi all, my colleague came up with a simpler solution without using reports. I edited all our e-book MARC records with MarcEdit to contain the phrase "Click here for online access" in 856 z. Then the opacuserjs is edited with this code: $(document).ready(function() { var tag = 'Click here

Re: [Koha] Ebook display in the opac

2019-02-06 Thread Alvaro Cornejo
Thanks, yes it worked.!! |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias

Re: [Koha] Ebook display in the opac

2019-02-06 Thread Owen Leonard
> I´m trying to make this changes and I get the folowing error: I think the problem again stems from copying and pasting code that has been poorly-formatted by a CMS. Try this: https://gitlab.com/snippets/1811390 -- Owen -- Web Developer Athens County Public Libraries https://www.myacpl.org

Re: [Koha] Ebook display in the opac

2019-02-06 Thread Alvaro Cornejo
Hi I´m trying to make this changes and I get the folowing error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/datafield[@tag="856"]/subfield[@code="u"]),"/", 3) FROM biblio_metadata WHERE' at line 2 My

Re: [Koha] Ebook display in the opac

2019-02-06 Thread Owen Leonard
> https://bywatersolutions.com/education/koha-electronic-resources At the moment ByWater's blog isn't correctly formatting JS and CSS, so check this version: https://gitlab.com/snippets/1811230 I assume you're replacing DOMAIN.NAME and YOUR_REPORT_ID with the correct values? Another thing to

[Koha] Ebook display in the opac

2019-02-06 Thread Katharina Klausner
Hi all, I'm trying to make our e-book display nicer in the catalog following these guidelines: https://bywatersolutions.com/education/koha-electronic-resources While the report works after some changes, the JS doesn't do anything. Can anybody tell me if the source code is correct? I'd be