EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #01995
< 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'" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Plugin new screen issue
- From: "Alan.Stiles" <Alan.Stiles@open.ac.uk>
- Date: Mon, 3 Jun 2013 17:30:55 +0100
Cheers Seb - I *knew* it would be something obvious and straightforward (and I think I've encountered that one previously...) Alan -----Original Message----- From: Sebastien Francois [mailto:sf2@ecs.soton.ac.uk] Sent: 03 June 2013 17:06 To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] Re: Plugin new screen issue 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 > *** 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/ -- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).
- References:
- [EP-tech] Plugin new screen issue
- From: "Alan.Stiles" <Alan.Stiles@open.ac.uk>
- [EP-tech] Re: Plugin new screen issue
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Plugin new screen issue
- Prev by Date: [EP-tech] Re: Plugin new screen issue
- Next by Date: [EP-tech] Re: IRStats2 Beta
- Previous by thread: [EP-tech] Re: Plugin new screen issue
- Next by thread: [EP-tech] demoprints and SWORD
- Index(es):