default custom review form

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to

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.
Posts: 37
Joined: Wed May 16, 2012 8:52 am

default custom review form

Postby theodore » Tue Aug 28, 2012 1:57 pm

sorry for mentioning similar think twice...

I want for each review round, when we "select reviewer" and assign him, to have specific custom form as default or preselected. Not the "None / Free Form Review", but one of my custom ones.

I have found this thread which resolves this, but only to OCS. I want the same for OJS.

I will appreciate any help, because I am really stuck with this one...

Posts: 37
Joined: Wed May 16, 2012 8:52 am

Re: default custom review form

Postby theodore » Sun Sep 16, 2012 10:20 am

ok, I figured out a "simple" solution, as follows:

in the file classes/submission/sectionEditor/
in function addReviewer,
i change code
if ($reviewFormDao->reviewFormExists($reviewFormId, ASSOC_TYPE_JOURNAL, $journalId)) {

if ($round ==1){
elseif ($round==2){

in setReviewFormId() I just put the Id of the custom review form, I want to be preselected, according to the round.

i hope it will help many people!

Return to “OJS Development”

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 3 guests