Best practice forum (Archived)

List of Variables for Substitution

 
? ?
List of Variables for Substitution
by ? ? - Tuesday, 26 March 2013, 4:17 PM
 

Hi,

I noticed that there isn't much help documentation around variables for substitution for messages in Totara LMS. eg. %programfullname%, %fullname%, etc

Can someone provide a list of the variables that can be substituted and in which messages they will work?

Thanks,

-Ira

Austen Sinclair
Re: List of Variables for Substitution
by Austen Sinclair - Tuesday, 26 March 2013, 4:51 PM
Group PartnersGroup TXP Site AdministratorGroup V18 Program Complete

Hi Ira

This is the list we use - hope its of value.

Cheers

Austen

Plans (lang string componentupdatelong*, local_plan)
$a->plan displays link to staff member's IDP home page - opens to Overview tab. (HTML) 
$a->planid Plan ID (integer)
$a->planname Plan title (string)
$a->wwwroot LearnIR url (string URL)
$a->componentsingular Plan item type e.g. competency (string)
$a->component As above, plural (string)
$a->componenturl URL to appropriate tab in plan (string URL)
$a->userfrom Fullname of user who did the action (string)
$a->userfromid ID of user who did the action (integer)
$a->user URL of recipients profile (string URL)
Lang string alerts_compheader, local_plan
$a->compname Compentency name (string)
$a->compid Compentency ID (integer)
$a->componenturl See prev section
Lang string alerts_courseheader, local_plan
$a->coursename Course name (string)
$a->courseid Course ID (integer)
$a->componenturl See prev section
Lang Completion
$a->course
$a->courseid
Face-to-face mod
[facetofacename]
[firstname]
[lastname]
[cost]
[duration]
[session:date]
[alldates]
[session:location]
[session:Building]
[session:room]
[coursepageurl]
[details]
? ?
Re: List of Variables for Substitution
by ? ? - Sunday, 21 April 2013, 10:39 PM
 

Anyone know if user specific details can be substituted the same way in system messages?

eg. %username%, %password%, etc

 

This forum post has been removed
Monday, 22 April 2013, 6:47 AM
The content of this forum post has been removed and can no longer be accessed.