EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #01615
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Remove Deposit for specific item type & status combination
- To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Remove Deposit for specific item type & status combination
- From: "Alan.Stiles" <Alan.Stiles@open.ac.uk>
- Date: Fri, 22 Feb 2013 12:08:21 +0000
Hi folks - looking for some confirmation or a bit of a steer. I'm trying to develop a plugin to provide a new item type with some additional workflow, so I want to either remove the default deposit button for the combination type = New_Type and status = inbox, or redefine it to change the status to New_Status (for this item type only) I've seen all the wiki training articles around XML workflow manipulation and defining new datasets (ie dark_archive), but I can't find anything suggesting how to deal with the above. Essentially, I suppose, the question is should I be overriding the EPrints::Plugin::Screen::EPrint::Deposit::can_be_viewed function to hide the button / workflow stage, and provide the appropriate alternative buttons, or have I just missed the obvious, and simpler, alternative? Cheers, -- Alan Stiles Digital Repository Developer, Library Services The Open University Library -- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).
- Prev by Date: [EP-tech] Re: Search eprints from external site.
- Next by Date: [EP-tech] EPrints questions
- Previous by thread: [EP-tech] Search eprints from external site.
- Next by thread: [EP-tech] EPrints questions
- Index(es):