Best practice forum (Archived)

List of Variables for Substitution

 
? ?
List of Variables for Substitution
door ? ? - Tuesday, 26 March 2013, 16: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
door Austen Sinclair - Tuesday, 26 March 2013, 16:51 PM
Groep PartnersGroep TXP Site AdministratorGroep 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
door ? ? - Sunday, 21 April 2013, 22:39 PM
 

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

eg. %username%, %password%, etc

 

Dit forumbericht is verwijderd
Monday, 22 April 2013, 06:47 AM
De inhoud van dit forumbericht is verwijderd en is niet langer toegankelijk.