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:

nametype
catalogCatalog
categoriesCategories
color_paletteColorPalette
coursesCourses
current_personPerson
current_schoolSchool
featuresFeatures
homepageHomepage
learning_pathsLearningPaths
messages
navigationsNavigations
params
pagePage
training_eventsTrainingEvents
website_footerWebsiteFooter

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.