OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Variables in Prepared Email Titles & Is there a List?

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Variables in Prepared Email Titles & Is there a List?

Postby thebigaym » Mon Oct 24, 2011 2:33 pm

http://pkp.sfu.ca/ojs/docs/userguide/2.3.1/journalManagementPages.html#journalManagementPreparedEmail

Make your changes to the selected template. Avoid changing any of the embedded program variables (anything that looks like {$this}) however, as these will dynamically generate appropriate information. (For example, {$reviewerName} in the figure below will insert the Reviewer recipient's name into the email.)


I want to add the submission number to the title of the e-mail which the copyeditor and layout editor send when notifying the editor that the work is complete.

Can variables be added to the title of a prepared email?

Is the list of variables available?
thebigaym
 
Posts: 46
Joined: Thu Apr 09, 2009 8:25 am

Re: Variables in Prepared Email Titles & Is there a List?

Postby jmacgreg » Tue Nov 01, 2011 10:16 am

Hi thebigaym,

See this search.

Cheers,
James
jmacgreg
 
Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Re: Variables in Prepared Email Titles & Is there a List?

Postby aleskl » Thu Sep 20, 2012 2:54 am

James, I tried the search from your post (and other searches as well), but I didn't find any reference to the list of variables that may be used in Prepared email templates. Does such a list exist? For example, I would like to add a submission URL of the paper in the Editor decision email that is sent to the author. so that the author can just click on the link in the email to go straight to the article review page.
-Ales
aleskl
 
Posts: 110
Joined: Mon Apr 11, 2011 7:08 am

Re: Variables in Prepared Email Titles & Is there a List?

Postby aleskl » Thu Sep 20, 2012 4:11 am

I also tried to use different variables from other email templates in the EDITOR DECISION RESUBMIT template, but they don't get replaced by automatic text. Eg. I tried to use the variable {$username}, but it doesn't get replaced with the actual username.
-Ales
aleskl
 
Posts: 110
Joined: Mon Apr 11, 2011 7:08 am

Re: Variables in Prepared Email Titles & Is there a List?

Postby rigas » Mon Sep 15, 2014 1:41 am

Hi

I tried the same thing :
would like to add a submission URL of the paper in the Editor decision email that is sent to the author so that the author can just click on the link in the email to go straight to the article review page.


And as it happens for you, in my case the embedded variables are not replaced. None of the following variables are replaced by their actual value in the email sent to the author:
{$submissionUrl}
{$authorUsername}
{$passwordResetUrl}

Any idea how to make this work ?

Rigas
Chief-editor Revue d'anthropologie des connaissances
rigas
 
Posts: 7
Joined: Wed Jul 08, 2009 8:31 am

Re: Variables in Prepared Email Titles & Is there a List?

Postby asmecher » Mon Sep 15, 2014 7:16 am

Hi Rigas,

Those variables are not available to the editor decision templates. To edit the set of available variables for the EDITOR_DECISION_... templates, you'll need to modify classes/submission/sectionEditor/SectionEditorAction.inc.php in the emailEditorDecisionComment function.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Variables in Prepared Email Titles & Is there a List?

Postby rigas » Mon Sep 15, 2014 8:15 am

Thaks Alec

I dont have admin privileges on the sever. So I'll have to have the server man

Thank you for your quick answer.

Rigas
rigas
 
Posts: 7
Joined: Wed Jul 08, 2009 8:31 am

Re: Variables in Prepared Email Titles & Is there a List?

Postby SigmaX » Sun Mar 01, 2015 6:11 pm

Another bump -- so has this feature been documented yet? Or is the answer to this question still RTFS?
SigmaX
 
Posts: 2
Joined: Sun Mar 01, 2015 6:05 pm

Re: Variables in Prepared Email Titles & Is there a List?

Postby SigmaX » Sun Mar 01, 2015 6:16 pm

To answer my own question: Apparently there's been an open bug for this issue for five and a half years: http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=4564
SigmaX
 
Posts: 2
Joined: Sun Mar 01, 2015 6:05 pm

Re: Variables in Prepared Email Titles & Is there a List?

Postby asmecher » Mon Mar 02, 2015 8:44 am

Hi SigmaX,

Actually, I've just marked that entry as a duplicate -- there's already some work in OJS 3.0 to permit the listing and selection of email variables.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: No registered users and 1 guest