Difference between revisions of "GUI Submission with no Documents"

From EPrints Documentation
Jump to: navigation, search
(Obsoleted page)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Configuration]]
+
{{Obsolete}}
 +
 
 +
'''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==
 
==Submitting with no documents==
  

Latest revision as of 12:22, 21 January 2022


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"
];