Getting Submission Type in "REVIEW REQUEST" Prepared Email

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to

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.
Posts: 50
Joined: Wed Mar 21, 2012 1:43 pm

Getting Submission Type in "REVIEW REQUEST" Prepared Email

Postby roball » Sun Nov 25, 2012 2:18 pm

For my scheduled conference I have set up two Submission Types an Author can choose from: "Oral" and "Poster". In the "REVIEW REQUEST" Prepared Email I want to include that Submission Type. Unfortunately, classes/mail/ does not provide a token for it. I was able to get the Submission Type ID by adding

Code: Select all

$paramArray['submissionType'] = $paper->_data['sessionType'];
to "class PaperMailTemplate" in that file. Using the token {$submissionType} will then give 2 for "Oral" and 3 for "Poster". But how can I resolve this ID into the name?

Thanks for any help.

Return to “OCS Technical Support”

Who is online

Users browsing this forum: No registered users and 2 guests