<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<br />
<br />
<div>
<div>I was just doing a simple test on the length of an array and when I run '<span style="background-color: rgb(249, 249, 249); font-size: 13px; line-height: 1.1em; ">bin/generate_static'</span> against my repository I get this:</div>
<div>
<blockquote style="margin:0 0 0 40px; border:none; padding:0px;">
<div>Failed to parse XML file: /usr/share/eprints3/archives/myrepos/cfg/templates/default.xml: Entity: line 9: parser error : StartTag: invalid element name</div>
<div> if(jQuery('#ep_tm_menu_tools li').length < 2){</div>
</blockquote>
</div>
<blockquote style="margin:0 0 0 40px; border:none; padding:0px;">
<div><br>
</div>
</blockquote>
<div><br>
</div>
<div>The js works if I do it at the console, just thought I'd make sure it worked before I did too much else.</div>
<div><br>
</div>
<div>Mnay thanks</div>
<div>Derek</div>
<div><br>
</div>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>sf2 <<a href="mailto:sf2@ecs.soton.ac.uk">sf2@ecs.soton.ac.uk</a>><br>
<span style="font-weight:bold">Reply-To: </span>"<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>" <<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>><br>
<span style="font-weight:bold">Date: </span>Monday, October 7, 2013 10:00 AM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>" <<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>><br>
<span style="font-weight:bold">Subject: </span>[EP-tech] Re: Custom javascript<br>
</div>
<div><br>
</div>
<div>
<div>
<p>What's the error? This should just work.</p>
<p>Seb.</p>
<p> </p>
<p>On Mon, 7 Oct 2013 09:16:30 +0000, Derek Lawrie <<a href="mailto:d.lawrie@nua.ac.uk">d.lawrie@nua.ac.uk</a>> wrote:</p>
<blockquote style="padding-left: 5px; border-left: #1010ff 2px solid; margin-left: 5px; width: 100%;">
<!-- html ignored --><!-- head ignored --><!-- meta not allowed --><br>
<br>
<div>Hi,</div>
<div>I've successfully added some external javascript files to my default.xml but now I want to add some (simple) custom script to the template as well. I tried to add it to the default.xml but it doesn't like me doing that so I was wondering if I should add
it in another separate js file and if so where would I put that?</div>
<div><br>
</div>
<div>Many thanks</div>
<div>Derek</div>
<br>
<span style="font-size: 11.0pt; color: #0000cc; font-weight: bold;">Rated top Specialist Arts Institution in the UK (National Student Survey 2013) and best Specialist Institution in Art and Design (Complete University Guide 2014)</span><br>
<br>
<span style="font-family: Verdana, Arial, Helvetica, sans-serif; color: black; font-size: xx-small; ">Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete,
or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version.
Any views or opinions presented are solely those of the author and do not necessarily represent those of the University.
<br>
<br>
This email and any files sent with it are intended only for the named recipient and may be confidential. If you are not the named recipient please email the sender immediately then delete this message. You should not disclose the content, distribute or retain
any copies of this message. <br>
<br>
<br>
Norwich University of the Arts, <br>
Francis House,<br>
3-7 Redwell Street, <br>
Norwich, NR2 4SN.<br>
Tel: 01603 610561<br>
Fax: 01603 615728<br>
<a href="http://www.nua.ac.uk">www.nua.ac.uk</a><br>
<br>
NUA Business Limited<br>
Registered office:<br>
Francis House,<br>
3-7 Redwell Street,<br>
Norwich, NR2 4SN.<br>
Registered in England & Wales number 3001912<br>
</span><br>
<span></span></blockquote>
<p> </p>
</div>
</div>
</span>
<br /> <span style="font-size:11.0pt; font-family:"Arial","sans-serif"; color:#0000cc; font-weight:bold">
Rated top Specialist Arts Institution in the UK (National Student Survey 2013) and best Specialist Institution in Art and Design (Complete University Guide 2014)</span>
<br /><br />
<font color="black" size="1" face="Verdana, Arial, Helvetica, sans-serif">
Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that
are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please
request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent
those of the University.
<br /><br />
This email and any files sent with it are intended only for the named recipient and may be confidential. If you are not the named
recipient please email the sender immediately then delete this message. You should not disclose the content, distribute or retain
any copies of this message.
<br /><br /><br />
Norwich University of the Arts, <br />Francis House,<br />3-7 Redwell Street, <br />Norwich, NR2 4SN.<br />
Tel: 01603 610561<br />
Fax: 01603 615728<br />
<a href="http://www.nua.ac.uk" target="_blank">www.nua.ac.uk</a><br />
<br />
NUA Business Limited<br />
Registered office:<br />
Francis House,<br />
3-7 Redwell Street,<br />
Norwich, NR2 4SN.<br />
Registered in England & Wales number 3001912<br />
</font>
<br />
<span>
</span></body>
</html>