EPrints Technical Mailing List Archive
Message: #05100
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: EPrints File Upload Screen (Show Options)
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: EPrints File Upload Screen (Show Options)
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Date: Fri, 13 Nov 2015 11:04:04 +0000
Hi Greg, The bit of code controlling the expand/collapse of documents (in 3.3.10) is in package EPrints::Plugin::InputForm::Component::Documents in the render_content function.
Around line 270 (https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Plugin/InputForm/Component/Documents.pm#L270)
it determines whether or not to collapse (hide) the document section. If you override this function to set $hide to always be 0 (zero) then your document sections should always be expanded. (I assume you frequently have more than one document per eprint
as otherwise it should appear expanded by default) Cheers, Alan From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Greg Whitney Hello,
On the Document Upload screen, is there a way to have the “Show Options” fields expanded automatically after uploading a file?? This way, our staff would be able to see the file metafields which they have to enter, without
expanding the Plus sign. One less click is always useful !! I tried looking at the EPrints documentation and couldn’t find any answer or hints…. Thanks!
|
- References:
- [EP-tech] EPrints File Upload Screen (Show Options)
- From: Greg Whitney <greg.whitney@polymtl.ca>
- [EP-tech] EPrints File Upload Screen (Show Options)
- Prev by Date: [EP-tech] Sign Up for Community Contributions Day Interest Groups
- Next by Date: [EP-tech] Re: RIS plugin problems (utf8 and journal title)
- Previous by thread: [EP-tech] Re: EPrints File Upload Screen (Show Options)
- Next by thread: [EP-tech] ePrints file upload error in IE11.
- Index(es):