[Koha-devel] Creating new template.

Rodrigo Santellan rsantellan at gmail.com
Mon Oct 31 21:12:17 CET 2016


I will try that on my scripts!

Thanks a lot!!

On Mon, Oct 31, 2016 at 5:06 PM, Tajoli Zeno <z.tajoli at cineca.it> wrote:

> Hi Rodrigo,
>
> Il 31/10/2016 19:20, Rodrigo Santellan ha scritto:
>
>> For what I see the code that I put on |IntranetUserJS will be used on
>> every intranet page. Is there a way to use it only in a sigle page?
>>
>
> You can start your JS with code that select a specific page:
>
> See:https://wiki.koha-community.org/wiki/JQuery_Library#
> Change_default_encoding_to_MARC-8
>
> All code is inside:
> if (window.location.href.indexOf("tools/stage-marc-import.pl") > -1) {
> [...]
> }
> So in fact it work only in page "tools/stage-marc-import.pl"
>
> Bye
> Zeno Tajoli
>
> --
> Zeno Tajoli
> /SVILUPPO PRODOTTI CINECA/ - Automazione Biblioteche
> Email: z.tajoli at cineca.it Fax: 051/6132198
> *CINECA* Consorzio Interuniversitario - Sede operativa di Segrate (MI)
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20161031/572c377f/attachment.html>


More information about the Koha-devel mailing list