EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #06158
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Error in Script - Adding usertype validation in citation
- To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Error in Script - Adding usertype validation in citation
- From: Eliseo Gatchalian <Eliseo.Gatchalian@wintec.ac.nz>
- Date: Wed, 11 Jan 2017 22:18:59 +0000
Hi, I might be missing something and wondering if anyone has encountered of might have a fix on this? We’ve added this script in cfg/citations/eprint/default.xml <if test="$current_user{usertype} = 'editor'"> <if test="ROCW"> <print expr="ROCW"/>. </if> </if> When a user is logged in, there is no [Error in Script] when viewing citation results. But when not logged in, I’m getting the error in script. I think it might be with $current_user{usertype} variable not declared/not used when not logged in, thus the error?
This electronic mail transmission is intended for the named recipients only. It may contain private and confidential information. If this has come to you in error you must take no action based upon it, nor must you copy it or show it to anyone; please telephone or email the sender at Wintec immediately and return the original email. We cannot accept any liability for any loss or damage sustained as a result of software viruses. It is your responsibility to carry out such virus checking as is necessary before opening any attachment which may be included with this message. |
- Prev by Date: Re: [EP-tech] User group links and call for interest
- Next by Date: Re: [EP-tech] Error in Script - Adding usertype validation in citation
- Previous by thread: [EP-tech] User group links and call for interest
- Next by thread: Re: [EP-tech] Error in Script - Adding usertype validation in citation
- Index(es):