[SOLVED] - [OJS 3.2.1] Notify Author - Missing variable in message

Hi all.

When I click in a submission > author > notify, I select an email template (created by myself). All variables works, excepting Author Name. I tried to use all variables i found in email templates, but no one works. What should i do? Thanks in advance

capture-ojs

1 Like

Hi @smtp,

Please give either of variables listed below:

{$submitterName}
{$userFullName}

Kind Regards,
Patricia M.
Public Knowledge Project Intern

Doesn’t work either :frowning:

Hi @smtp,

You can use {$authorString}.

Regards,
Alec Smecher
Public Knowledge Project Team

Great! Solved! Thanks all for your work

Hi @asmecher!

is there any similar replacement for “{$authorUsername}”?
We’re having the same variable problems with our self-created email templates.

Is it the lack of “Sender”-“Recipient” context? How do we declare that when creating a new template?

Thanks!
Ezequiel
https://www.papersinphysics.org
OJS 3.1.1.4

Hi @ezeferrero,

The reason this changed is that we can’t assume there is only one corresponding author as a recipient – so it’s not possible to have something like {$authorUsername}, unfortunately.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Hi there,

I try all of the alternatives above for the author name in the notification email template, nothing works. Any suggestion? I use OJS 3.1.1.4.

Thanks,
maria

Hi @Maria123,

The NOTIFICATION email template is not always used for submission-related emails, so the {$authorString} email variable is not available there.

Regards,
Alec Smecher
Public Knowledge Project Team