[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Altmetric plug-in - hide heading

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" />
Any use?


From: Sheppard, Nick [mailto:N.E.Sheppard at leedsmet.ac.uk]
Sent: 20 August 2014 11:33
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Altmetric plug-in - hide heading

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?