[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- From: a.p.collington at sussex.ac.uk (Andrew Collington)
- Date: Tue, 1 Mar 2016 13:13:33 +0000
The reason I ask is that I want to show a section in the abstract details only to admins (which is currently set up in cfg/citations/eprint/control.xml). I originally tried to modify that section, but with the caching it obviously didn't work. I then tried to use a pin but had the same problems. Someone responded to my original EPrints UK User Group post (https://groups.google.com/forum/#!topic/eprints-uk-user-group/LloconUdLDg) suggesting that js may be a good way forward.
If there's not something already available then I could update the main template to include a json object of the user details which I can then use later on in the page. But hopefully someone else has already tried to add/show content dynamically based on role (or any other user property, I imagine) and can give some advice.
Web Programmer, ITS Client Services
ITS-CS Shawcross, University of Sussex, Falmer, Brighton, BN1 9QT
T: (01273) 872591 (ext. 2591)
E: a.p.collington at sussex.ac.uk<mailto:a.p.collington at sussex.ac.uk>
-------------- next part --------------
An HTML attachment was scrubbed...