Re: [Koha-devel] Creating new template.

2016-10-31 Thread Rodrigo Santellan
I will try that on my scripts! Thanks a lot!! On Mon, Oct 31, 2016 at 5:06 PM, Tajoli Zeno 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

Re: [Koha-devel] Creating new template.

2016-10-31 Thread Tajoli Zeno
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

Re: [Koha-devel] Creating new template.

2016-10-31 Thread Rodrigo Santellan
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? It is possible to define a javascript file? Regards On Mon, Oct 31, 2016 at 3:00 PM, Tomas Cohen Arazi wrote: > So you should try avoiding the templates. Othe

Re: [Koha-devel] Creating new template.

2016-10-31 Thread Tomas Cohen Arazi
So you should try avoiding the templates. Otherwise you would need to maintain your own branch. So Jquery is a good way of injectng stuff to the DOM, but it will depend on what you are trying to do. regards El lun., 31 oct. 2016 a las 14:59, Rodrigo Santellan () escribió: > Is really specific. >

Re: [Koha-devel] Creating new template.

2016-10-31 Thread Rodrigo Santellan
Is really specific. On Mon, Oct 31, 2016 at 2:52 PM, Tomas Cohen Arazi wrote: > ARe you trying to introduce a new feature or enhancement to Koha? For > everyone to use? Or is it just too specific? > > El lun., 31 oct. 2016 a las 14:49, Rodrigo Santellan (< > rsantel...@gmail.com>) escribió: > >>

Re: [Koha-devel] Creating new template.

2016-10-31 Thread Tomas Cohen Arazi
ARe you trying to introduce a new feature or enhancement to Koha? For everyone to use? Or is it just too specific? El lun., 31 oct. 2016 a las 14:49, Rodrigo Santellan () escribió: > I could, is that the preferred way? > > Should I check on https://wiki.koha-community.org/wiki/JQuery_Library for

Re: [Koha-devel] Creating new template.

2016-10-31 Thread Rodrigo Santellan
I could, is that the preferred way? Should I check on https://wiki.koha-community.org/wiki/JQuery_Library for coding standards of Koha? Regards On Mon, Oct 31, 2016 at 2:47 PM, Tomas Cohen Arazi wrote: > Can't you inject that using Jquery? > > El lun., 31 oct. 2016 a las 14:32, Rodrigo Santell

Re: [Koha-devel] Creating new template.

2016-10-31 Thread Tomas Cohen Arazi
Can't you inject that using Jquery? El lun., 31 oct. 2016 a las 14:32, Rodrigo Santellan () escribió: > Hi, > > I want to create a new template for a custom action in the patron details. > What I need is to call a web service to update some data of the patron but > only is the staff wants (Ideall