EPrints Technical Mailing List Archive
Message: #07191
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] ORCID rendering in citations
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] ORCID rendering in citations
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Wed, 28 Feb 2018 14:24:06 +0000
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: … 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@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Taylor, Sarah 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@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of John Salter 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@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Taylor, Sarah 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 |
- Follow-Ups:
- Re: [EP-tech] ORCID rendering in citations
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] ORCID rendering in citations
- References:
- [EP-tech] ORCID rendering in citations
- From: "Taylor, Sarah" <S.E.Taylor@bolton.ac.uk>
- Re: [EP-tech] ORCID rendering in citations
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] ORCID rendering in citations
- From: "Taylor, Sarah" <S.E.Taylor@bolton.ac.uk>
- Re: [EP-tech] ORCID rendering in citations
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] ORCID rendering in citations
- Prev by Date: Re: [EP-tech] ORCID rendering in citations
- Next by Date: Re: [EP-tech] ORCID rendering in citations
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):