EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #01994
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Plugin new screen issue
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Plugin new screen issue
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- Date: Mon, 03 Jun 2013 17:05:42 +0100
plug-ins within /lib/plugins/ (where the bazaar's modules are installed) must be explicitly enabled in a .pl file:
$c->{plugins}->{"Screen::EPrint::Submit"}->{params}->{disable} = 0;This allows for a global plug-in (/lib/plugins/) to be enabled in one repository but disabled in another one.
Seb. On 03/06/13 16:56, Alan.Stiles wrote:
Anybody offer any thoughts on where I'm going wrong with the following: I'm trying to create a new screen based on Eprint::Deposit for use in a plugin (v3.3.10). When I add the package to the folder /opt/eprints3/lib/plugins/EPrints/Plugin/Screen/Eprint/ and select it as part of my Bazaar plugin, then calls to it as http://mydomain.com/cgi/users/home?screen=EPrint::Submit?eprintid=99999 fail with "The requested screen does not exist, or has a fatal error: EPrint::Submit" But if I put the same package (diff has no output) in /opt/eprints3/archives/MYARCHIVE/cfg/plugins/EPrints/Plugin/Screen/EPrint/ and use the same url call it does exactly what I want it to (including missing phrase warnings, etc.) Obviously, I could use the second option to get my function going, but that isn't a very bazaar-plug-inny way of making it work! -- Alan Stiles Digital Repository Developer, Library Services, The Open University Library Open Research Online - http://oro.open.ac.uk
- References:
- [EP-tech] Plugin new screen issue
- From: "Alan.Stiles" <Alan.Stiles@open.ac.uk>
- [EP-tech] Plugin new screen issue
- Prev by Date: [EP-tech] Plugin new screen issue
- Next by Date: [EP-tech] Re: Plugin new screen issue
- Previous by thread: [EP-tech] Plugin new screen issue
- Next by thread: [EP-tech] Re: Plugin new screen issue
- Index(es):