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

[EP-tech] Visibility of a plugin



Hi Laurent, is it actually an Export plugin you are creating?
Assuming so, how are you finding the items to export?  If you set it to 'staff'  (do a server restart) and then do a search from the admin section  (http://eprints.example.com/cgi/users/home?screen=Staff%3A%3AEPrintSearch)  does it appear in the results there?

Cheers,
Alan

-----Original Message-----
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Laurent Cloarec
Sent: 03 June 2016 10:13
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Visibility of a plugin

Hi there,

For debugging purpose, I tried to write
?
> $self->{visible} = 'staff';
?
as described in http://wiki.eprints.org/w/API:EPrints/Plugin/Export

But it doesn't seem to work, as the "Admin" account of the repository can't see it either ; if I toggle to the "all" value, it does (but other users also !).

Any idea ???

Best regards,
--
Laurent Cloarec
Service Commun de la Documentation - Service du Num?rique Documentaire Universit? Toulouse 1 Capitole - France

*** 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/
-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.