Putting Submission Numbers in Email Headers

I know that prepared emails are stored in a number of different places in the code, and I’m not sure I’ll be detailed enough with this request, but maybe someone can get me started.

It would be an immense help if I could get most emails sent via OJS to include the submission number in the header–at a bare minimum, it would be key to have this information in emails about reviews and reviewer assignments, as these are the ones that often get forwarded to our editorial office with pleas for help. We have between 60 and 70 active submissions under review at any given time, and even with search, it can be incredibly time-consuming to find a given article based on what we’ve received in an email.

Can someone point me to where this tag is in the code, and which library I might need to add it to in order to have it appear in emails of different types?

I’m running OJS 2.4.3.

Hi @jessgri,

You should be able to edit the email templates in the “Prepared Emails” area and add {$articleId} to the subject.

Alec Smecher
Public Knowledge Project Team

I have included the {$articleID} in the subject line of the prepared emails in OJS3 but it show as follows:

What must I do to show the submission number and not just {%articleID}?


Hi @Robyn,

What version of OJS are you using? If it’s OJS 3.x, try {$submissionId} instead.

Alec Smecher
Public Knowledge Project Team