EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #03406
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Altmetric plug-in - hide heading
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Altmetric plug-in - hide heading
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Date: Wed, 20 Aug 2014 11:22:36 +0000
Hi Nick, Although we’re not actually using the plugin, we have included (by hand) the _javascript_ and tags to put the altmetrics data on our abstracts. We have a condition in the ‘…/cfg/citations/eprint/summary_page.xml’ file around where the altmetric plugin appears which hides the entire section if the item has not got a DOI. Essentially as follows (our DOIs are in a field called ‘doi’ in the ‘eprint’ table) <epc:if test="doi"> <h2>Altmetrics</h2><br /> <epc:print expr="$altmetric_ref" /> </epc:if> Any use? Alan From: Sheppard,
Nick [mailto:N.E.Sheppard@leedsmet.ac.uk] Dear list We have installed the altmetric plug-in from the bazaar and set so that neither donut or heading is shown if id_number is null; also added
the "data-hide-no-mentions='true'" qualification to the altmetric tag so that we don’t get an empty donut…though in this case we still get the Altmetrics heading. Please can anyone
advise on how we can hide it? Thanks Nick From 22 September 2014 Leeds Metropolitan University will become Leeds Beckett University.
|
- References:
- [EP-tech] Altmetric plug-in - hide heading
- From: "Sheppard, Nick" <N.E.Sheppard@leedsmet.ac.uk>
- [EP-tech] Altmetric plug-in - hide heading
- Prev by Date: [EP-tech] Altmetric plug-in - hide heading
- Next by Date: [EP-tech] Vacancy: Research Data Management Officer (Technical Co-ordination)
- Previous by thread: [EP-tech] Altmetric plug-in - hide heading
- Next by thread: [EP-tech] Vacancy: Research Data Management Officer (Technical Co-ordination)
- Index(es):