GUI Submission with no Documents

From EPrints Documentation
Revision as of 12:22, 21 January 2022 by Drn@ecs.soton.ac.uk (talk | contribs) (Obsoleted page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Warning This page contains out of date information and may no longer work or be superseded by a better technique.

Recent versions of EPrints do not set required_formats by default. Even, so you should not require this setting to be an empty array to allow users not tosubmit any documents.

Submitting with no documents

I allow this as we may be adding documents in later after the information.

To allow a submission without a document, edit the file;

vi /var/lib/eprints3/archives/yourarchivename/cfg/cfg.d/document_upload.pl

And change the lines;

$c->{required_formats} =
[
       "text/html",
       "application/pdf",
       "application/postscript",
       "text/plain"
];


To :

$c->{required_formats} =
[
#       "text/html",
#       "application/pdf",
#       "application/postscript",
#       "text/plain"
];