You are viewing the PKP Support Forum | PKP Home Wiki

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 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.

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

Return to OJS Development

Who is online

Users browsing this forum: Bing [Bot] and 0 guests