Email template

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: 15
Joined: Fri Jun 27, 2008 2:50 am

Email template

Postby marcob » Fri Oct 09, 2009 4:30 am

I have a simple question. I need the info about the Track to be included in the email templates. This is
important because the Director needs to inform the author about which track s/he has been (re)assigned to.

I took a guess and given that {$paperTitle} and {$paperAbstract} exist I tried to use
{$paperTrack} but that did not work.

So my query is whether a variable Track exists.

I was surprised that I could not find a list of available variables anywhere in the documentation.
I think I tried looking anywhere before posting. What I would like is a simple table that then people
can use as they want in the templates. If it does not exist could this table be provided somewhere?
(e.g. appendix to OCS in one hour)

Thanks, MarcoB

Posts: 952
Joined: Mon May 05, 2008 10:29 am
Location: Vancouver, BC

Re: Email template

Postby mcrider » Tue Oct 13, 2009 3:48 pm

Hi MarcoB,

This type of question has been asked before, but any type of list would be unwieldy and would change frequently, even with just email templates. Still, its a possibility that we might write one up in the future--I'll bring it up with others on the support team.

One way to get at these template variables would be to grep your OCS installation for 'mail->assignParams', which will show all parameters assigned directly to email objects. Other global variables are assigned in the classes/template/ constructor function--These are variables accessible in any template or email file.

For the track name, try using the variable 'trackName', which is used in certain email templates.


Posts: 15
Joined: Fri Jun 27, 2008 2:50 am

Re: Email template

Postby marcob » Wed Oct 14, 2009 12:45 am

Dear Matt,

Thank you for your help. The variable trackName worked for me so I'm using it now to notify authors
of which track they have been assigned.

About keeping a table with these variables, when you say that the list would change frequently this
seems to be a good reason to have a list! It is exactly when things change that it's important to have
a masterlist to keep track of them. Just my humble opinion of course.



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

Re: Email template

Postby jmacgreg » Tue Oct 20, 2009 2:01 pm

Hi all,

I reported this as a feature request a while ago: Marco, please feel free to CC yourself to that for future updates.


Posts: 17
Joined: Wed Aug 19, 2009 7:53 pm

Re: Email template

Postby billysundar » Sun Jan 10, 2010 6:53 pm

is there a variable for the presentation start and end time?

Return to “OCS Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest