EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #07216


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] ORCID Support plugin


Hi John, Volker,

You're quite right about the CSS John, it's just to make it clearer that the ORCID field isn't editable when the readonly attribute has been set. This is actually present here in the ORCID Support plugin in anticipation of the ORCID Support Advance plugin which makes use of the member API. One of the conditions of using the member API is that ORCIDs should not be directly editable and instead should only be added through connecting to your orcid.org profile. When the Advance plugin is installed, this bit of CSS will kick in!

Many thanks,

Will
 



On 08/03/18 15:21, John Salter wrote:
Hi Volker,
Doesn't that rule mean:
	an element with a class ' ep_eprint_creators_orcid' AND an attribute 'readonly' set to 'true'
-it's not setting any rules on the field - just rendering a read-only field in a different way to editable fields.

Somewhere in the Perl code, there will be some logic to display a field as read-only - but I assume (have not checked) that this does it for sensible reasons - like you have to sign in to ORCID to set it/update it.

Cheers,
John


-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Schallehn, Volker
Sent: 08 March 2018 14:32
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] ORCID Support plugin

Hi all,

what's the reason for setting the creators_orcid field to readonly via CSS:

.ep_eprint_creators_orcid[readonly="true"]
{
    background-color: #e0e0e0;
    cursor: not-allowed;
}

If someone has entered a wrong name using the lookup tool, you can delete the name but not the ORCID-ID. Or did I miss something?

Kind regards,
Volker

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/