Easily personalize your students' experience with variables
What are replacement variables?
Replacement variables provide another way to simply and uniquely personalize each user's learning experience. Place variable codes in your content, and Buzz automatically replaces the variables with dynamic values drawn from user, course, and/or domain information.
Buzz allows you to use variables in the content that appears on an activity folder's landing page. This example uses the $USERFIRST$ code, allowing the teacher to address each student by first name, and the $COURSENAME$ code, which means that they can change the name of the course without having to edit this folder's landing content.
Where can I use replacement variables?
Currently, you can use variables in the following locations:
- Folder landing pages
- Activity content
- Questions in assessment and practice questions activities
- Activities that are website links; you can use variables in the website URL or in POST parameters to the website.
Predefined domain-wide replacement variables
This table outlines the predefined variable codes that are available in all Buzz domains. Simply set the variable code between dollar signs ($) to activate the variable, like this: $VARIABLECODE$.
How do I create my own replacement variables?
You can also create replacement variables for your own course:
- Open Settings in the Editor toolbar.
- Click Add variable under Variables in the General tab.
- Provide the variable Name, which is the variable code that will be replaced (e.g., SECTIONNUMBER).
- Provide the variable Value, which is the value you want the code to be replaced by (e.g., Section 5).
Once you've created a course-specific replacement variable, you use it by placing it between dollar signs ($) just like you do with the other variable codes (e.g., $SECTIONNUMBER$).