[EP-tech] Plugin new screen issue

Alan.Stiles Alan.Stiles at open.ac.uk
Mon Jun 3 16:56:28 BST 2013


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

-- 
The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).




More information about the Eprints-tech mailing list