Skip to main content

Custom layout placeholders in Dash

A comprehensive list of available data tags for Mustache templates (Premium only)

About

Placeholders are dynamic tags used in custom layouts to pull specific information from the Moodle database. When a Dash block is rendered, these tags are replaced with the actual data relevant to the current user or course context.


Available placeholders

User Profile

  • User_Id

  • User_Idnumber

  • User_Firstname

  • User_Lastname

  • User_Fullname

  • User_Middlename

  • User_Alternatename

  • User_Email

  • User_Username

  • User_Institution

  • User_Department

  • User_Address

  • User_City

  • User_Country

  • User_Mobile

  • User_Phone

  • User_Profilefield_Credits

  • User_Profilefield_trackrecord

  • User_Profilefield_jobstart

Course Information

  • Course_Fullname

  • Course_Shortname

  • Course_Summary

  • Course_Summaryplain

  • Course_Courseurl

  • Course_Startdate

  • Course_Enddate

  • Course_Id

  • Course_Category

  • Course_Idnumber

  • Course_Format

  • Course_Visible

  • Course_Groupmode

  • Course_Groupmodeforce

  • Course_Defaultgroupingid

  • Course_Lang

  • Course_Calendartype

  • Course_Theme

  • Course_Timecreated

  • Course_Timemodified

  • Course_Enablecompletion

  • Course_categories_Id

  • Course_categories_Name

Did this answer your question?