Follow

How do I display variables in my course?

You can set any variable to appear on your course pages by right-clicking in an open text element, or inputting two curly braces {{ in a text element and then selecting the variable from the dropdown list.

For example, perhaps you have a welcome page and you'd like to greet your learner by name, you could input into the text element: Welcome {{sys.learner.name}}! So that the page gives a custom welcome for every learner visiting the page.

Do note that variables are an online, dynamic feature that will not appear, or function, in any print version of your course.

Also, any variable with conditions reliant on other pages in a course will not properly display in a single page preview. You'll need to perform a full course preview in order to see those specific variables.
 
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments