OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



How to make the upload mandatory

Are you a Director, Presenter, Reviewer or Conference Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

How to make the upload mandatory

Postby mrcardoso » Thu Feb 27, 2014 11:13 am

Is there a way to make the upload of the submission mandatory for the author?

We are experiencing problems where most of the submissions come without a file uploaded, making it an annoyance.

If there is a way, please let us know. Thank you.
mrcardoso
 
Posts: 11
Joined: Wed Apr 10, 2013 5:11 am

Re: How to make the upload mandatory

Postby asmecher » Thu Feb 27, 2014 5:41 pm

Hi mrcardoso,

You'll need to turn what's currently an "are you sure?" confirmation into an outright rejection. See templates/author/submit/step2.tpl:
Code: Select all
<p><input type="submit"{if !$submissionFile} onclick="return confirm('{translate|escape:"jsparam" key="author.submit.noSubmissionConfirm"}')"{/if} value="{translate key="common.saveAndContinue"}" class="button defaultButton" /> <input type="button" value="{translate key="common.cancel"}" class="button" onclick="confirmAction('{url page="author"}', '{translate|escape:"jsparam" key="author.submit.cancelSubmission"}')" /></p>
Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: How to make the upload mandatory

Postby mrcardoso » Fri Feb 28, 2014 7:19 am

Thank you very much! But is there a way to make it only for a specific conference?
mrcardoso
 
Posts: 11
Joined: Wed Apr 10, 2013 5:11 am

Re: How to make the upload mandatory

Postby asmecher » Fri Feb 28, 2014 9:10 am

Hi mrcardoso,

Yes, you could code this in a variety of ways -- the most comprehensive being to add a new journal setting, the most minimal being to hard-code the check (e.g. {if $currentSchedConf->getPath() == 'pathToCheck'} ... {else} ... {/if}).

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: How to make the upload mandatory

Postby mrcardoso » Fri Feb 28, 2014 9:15 am

Thanks again!
mrcardoso
 
Posts: 11
Joined: Wed Apr 10, 2013 5:11 am


Return to OCS Conference Support and Discussion

Who is online

Users browsing this forum: No registered users and 1 guest