Best practice forum (Archived)

List of Variables for Substitution

 
??
List of Variables for Substitution
?? 发表于 2013年03月26日 Tuesday 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
SinclairAusten 发表于 2013年03月26日 Tuesday 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
?? 发表于 2013年04月21日 Sunday 22:39
 

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

eg. %username%, %password%, etc

 

该论坛帖子已被删除
2013年04月22日 Monday 06:47
该论坛帖子的内容已被删除,无法再访问。