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
Developer Resources:

Documentation: The OJS Technical Reference and the OJS API Reference are both available from the OJS Documentation page.

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a technical support question, try the OJS Technical Support subforum.

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: No registered users and 0 guests