[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] ORCID rendering in citations
Hi Sarah,
It might be that you need to force a reload of the css for your site.
Try pressing Ctrl+F5 (may be other key-combination, depending on browser).
I've had a look at: http://ubir.bolton.ac.uk/style/auto-3.3.14.css, and it seems to include the orcid styles:
/* From: /usr/share/eprints3/lib/static/style/auto/orcid_support.css */
...
When I look at this:
http://ubir.bolton.ac.uk/cgi/latest
I see the green dot icons, with a tooltip when hovered.
[There is an issue with the arrow of the tooltip - which seems to be fixed in an update:
https://github.com/eprints/orcid_support/commit/21bae97991ef132f0ed9ce87307fec57af43332e - which I guess hasn't been made available on the Bazaar yet].
Cheers,
John
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Taylor, Sarah
Sent: 28 February 2018 13:28
To: eprints-tech at ecs.soton.ac.uk
Subject: Re: [EP-tech] ORCID rendering in citations
Hi,
Thanks so much for this - I can see my ORCIDs now! Hooray! However, can I change it to only show the icons, with the number only display when you hover over it? The support article suggests using this:
<!-- For Creators -->
<print expr="people_with_orcids(creators)" />
<!-- For Editors -->
<print expr="people_with_orcids(editors)" />
But does that go elsewhere?
Thanks again!
Sarah
From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of John Salter
Sent: 28 February 2018 13:05
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>
Subject: Re: [EP-tech] ORCID rendering in citations
Hi Sarah,
The files you need to update are in:
[EPRINTS_ROOT]/archives/[ARCHIVEID]/cfg/citations/eprint/
Taking 'default.xml' as an example (the version that comes with EPrints is something like this: https://github.com/eprints/eprints/blob/3.3/lib/defaultcfg/citations/eprint/default.xml),
There is a block:
<when test="type = 'book' and is_set( creators )">
<print expr="creators_name"/>
</when>
The change needed is this:
<when test="type = 'book' and is_set( creators )">
<print expr="people_with_orcids(creators)"/>
</when>
There may be other files in that directory that need to be updated.
Does that help?
Cheers,
John
From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Taylor, Sarah
Sent: 28 February 2018 12:39
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>
Subject: [EP-tech] ORCID rendering in citations
Hi all,
I wonder if anyone can help a very non-techy repository manager, and by non-techy I mean fairly clueless.
I have installed the ORCID plugin which is working fine, but now I'd like to see the ORCID icons in my citations. The support article tells me to "simply include the following when displaying creator or editor fields" then the text I am to include where on earth to I put this?
Thanks in advance!
Sarah
Sarah Taylor
Electronic Resources Librarian
The Peter Marsh Library
University of Bolton
Deane Road
Bolton
BL3 5AB
01204 903099
s.e.taylor at bolton.ac.uk<mailto:s.e.taylor at bolton.ac.uk>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20180228/99ee7fd8/attachment-0001.html