EPrints Technical Mailing List Archive

Message: #05768


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

Re: [EP-tech] Visibility of a plugin


Hi Alan,

Thank you for responding me !

No, in my case, the plugin I'm trying to test is an import module, so I expect to find it in the "manage Deposit" screen.

Alan.Stiles alan.stiles at open.ac.uk
Fri Jun 3 12:05:56 BST 2016

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

Le 03/06/2016 11:13, Laurent Cloarec a écrit :
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