EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #02236
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Custom javascript
- To: Eprints Tech Mailing List <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Custom javascript
- From: Denis Pitzalis <denis.pitzalis@gmail.com>
- Date: Mon, 7 Oct 2013 13:01:44 +0200
Hei Seb, is there any plan to move to jQuery one day?
Denis
Denis
On Mon, Oct 7, 2013 at 11:49 AM, Yuri <yurj@alfa.it> wrote:
Il 07/10/2013 11:35, Derek Lawrie ha scritto:
>default.xml must be an xml file. You've to embed your code as xml, I
>
> I was just doing a simple test on the length of an array and when I
> run 'bin/generate_static' against my repository I get this:
>
> Failed to parse XML file:
> /usr/share/eprints3/archives/myrepos/cfg/templates/default.xml:
> Entity: line 9: parser error : StartTag: invalid element name
> if(jQuery('#ep_tm_menu_tools li').length < 2){
>
>
>
think using CDATA should works. Check examples on the web, or put the js
as an external file and load it from the template as you did already before.
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
--
----------------------
Denis Pitzalis, PhD
Web Lead Developer
UNESCO - http://www.unesco.org
Paris, France - Tel: +33145681816
Digital Heritage 2013 - Workshops chairDenis Pitzalis, PhD
Web Lead Developer
UNESCO - http://www.unesco.org
Paris, France - Tel: +33145681816
http://www.digitalheritage2013.org/
- Follow-Ups:
- [EP-tech] Re: Custom javascript
- From: sf2 <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Custom javascript
- References:
- [EP-tech] Re: Custom javascript
- From: Derek Lawrie <d.lawrie@nua.ac.uk>
- [EP-tech] Re: Custom javascript
- From: Yuri <yurj@alfa.it>
- [EP-tech] Re: Custom javascript
- Prev by Date: [EP-tech] Re: Custom javascript
- Next by Date: [EP-tech] Re: Custom javascript
- Previous by thread: [EP-tech] Re: Custom javascript
- Next by thread: [EP-tech] Re: Custom javascript
- Index(es):