Hi,
I have been asked by Editors to modify the EDITOR_ASSIGN template in order to get the pdf file of the article automatically attached to the assignement mail. In other words, I would like to have a similar behaviour as in the REVIEW_REQUEST_ATTACHED template. Is there an best way to do so ?
Thanks a lot, Alec.
But not being expert, I guess I should change the line 283 of SectionEditorAction.inc.php
$reviewVersion =& $sectionEditorSubmission->getReviewFile();
with another one?
Thanks but I probably forget to add something, since this produces
Fatal error: Call to a member function getSubmissionFileId() on a non-object in /var/www/html/ojs/classes/submission/editor/EditorAction.inc.php on line 96
The $sectionEditorSubmission object referred to in the quoted code above probably doesn’t exist, judging by that error message. You might find a $submission object in scope where you’re making your modifications.
Regards,
Alec Smecher
Public Knowledge Project Team