Hi @akierig
OJS has some common variables shared by all email templates, but specific mail templates may add their own set of tags, e.g. REVIEW_REQUEST set of emails.
Template tag variable you should use is {$reviewerUsername}, as you can see in this link:
$numWeeks = max((int) $journal->getSetting('numWeeksPerReview'), 2);
$reviewDueDate = strftime(Config::getVar('general', 'date_format_short'), strtotime('+' . $numWeeks . ' week'));
}
$submissionUrl = $request->url(null, 'reviewer', 'submission', $reviewId, $reviewerAccessKeysEnabled?array('key' => 'ACCESS_KEY'):array());
$paramArray = array(
'reviewerName' => $reviewer->getFullName(),
'weekLaterDate' => $weekLaterDate,
'reviewDueDate' => $reviewDueDate,
'reviewerUsername' => $reviewer->getUsername(),
'reviewerPassword' => $reviewer->getPassword(),
'editorialContactSignature' => $user->getContactSignature(),
'reviewGuidelines' => PKPString::html2text($journal->getLocalizedSetting('reviewGuidelines')),
'submissionReviewUrl' => $submissionUrl,
'abstractTermIfEnabled' => ($sectionEditorSubmission->getLocalizedAbstract() == ''?'':__('article.abstract')),
'passwordResetUrl' => $request->url(null, 'login', 'resetPassword', $reviewer->getUsername(), array('confirm' => Validation::generatePasswordResetHash($reviewer->getId())))
);
$email->assignParams($paramArray);
if ($isEmailBasedReview) {
// An email-based review process was selected. Attach
You may check other sets through this thread:
Hello,
is there any table/list of short codes for prepared e-mails ie. journal title, author name, author salutation, article id, date of submission so we can add to prepared e-mails.
Thanks
Regards,
Israel Cefrin
Public Knowledge Project Team
1 Like