Variables Reference

What are variables?

Variables expose information about your school in a dynamic way. You can access the data about your courses, the current learner, and much more. Thanks to variables you can deliver dynamic content to your learners.

Types of variables

There are two types of variables - global and template-specific.

Global variables

Global variables are the ones that are exposed globally and can be used in all the templates.
Here's a table that shows the variables along with their types:

name

type

catalog

Catalog

categories

Categories

color_palette

ColorPalette

courses

Courses

current_person

Person

current_school

School

features

Features

homepage

Homepage

learning_paths

LearningPaths

messages

navigations

Navigations

params

training_events

TrainingEvents

website_footer

WebsiteFooter

Template-specific variables

These variables are visible only in specific templates. To learn more about the local variables available for each template, check out the list of available templates under Customizing Pages.


Did this page help you?