[Xerte] Re: FileLocation into URL link?

Smith, John J.J.Smith at gcu.ac.uk
Mon Sep 9 23:33:24 BST 2013

Something like

<a href="#" onclick="window.location.href=FileLocation + 'image.jpg'; return false;">Link</a>


John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII

KnowledgeWare <knowledgeware at kccsoft.com> wrote:

I’m wondering if there is a way to utilitize the ‘FileLocation’ var info in a URL link in html on a typical xerte page. Ie

<a href=FileLocation +’media/rontest.pdf’> open pdf file  <a>

I can’t get any permutation to work…. I know I’m using a screwdriver as a hammer…  : - (

Anyone done this?


This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.

Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.

More information about the Xerte mailing list