Best practice forum (Archived)

List of Variables for Substitution

 
? ?
List of Variables for Substitution
על ידי ? ? בתאריך 26/03/2013, 16:17
 

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
על ידי Austen Sinclair בתאריך 26/03/2013, 16:51
קבוצה Partnersקבוצה TXP Site Administratorקבוצה 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
על ידי ? ? בתאריך 21/04/2013, 22:39
 

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

eg. %username%, %password%, etc

 

פרסום זה הוסר
22/04/2013, 06:47
פרסום זה הוסר ואינו זמין יותר.