Sidebar content

In Moodle
About this page

Course categories, custom content blocks, and where the sidebar appears.

Text area

Sidebar Section Order

Drag the handles or use the arrow buttons to rearrange the order in which sidebar sections appear in the #nav-drawer panel. or empty sections keep their slot but render nothing.

Admin keytheme_xy/sidebarlayoutorder
DefaultEmpty
Suggested screenshot. Show the menu or footer on a typical page after your change is saved.
Add screenshot: screenshots/sidebar/sidebarlayoutorder.png

Categories Button

Configure the categories button in the left sidebar

On / off

Show Categories Box

Display a list of categories in the left sidebar

Admin keytheme_xy/showcategoriesbox
DefaultOn

My Courses

Configure the My Courses sidebar section

On / off

Show My Courses Box

Display a list of enrolled courses in the left sidebar

Admin keytheme_xy/showmycoursesbox
DefaultOn
Text area

Show courses

Label for the courses toggle in the sidebar My courses filter. The toggle is shown only when Display Courses Toggle is enabled, the user can view courses, and at least one course appears on their list. Displaying text in multiple languages

Admin keytheme_xy/stringshowhidden
DefaultShow courses
On / off

Display Courses Toggle

Turn this option on or off.

Admin keytheme_xy/displayfilterhiddenchbx
DefaultOn
Text area

Only courses in progress

Label for the in-progress courses toggle in the sidebar My courses filter. The toggle is shown only when the user has more courses than the My courses search threshold and their list includes both in-progress and other courses (past, future or completed). Displaying text in multiple languages

Admin keytheme_xy/stringshowonlyinprogress
DefaultOnly courses in progress
Short text

My courses search threshold

Show the course search field and the in-progress filter in the sidebar only when the user has more than this number of courses in the list. Default: 6.

Admin keytheme_xy/mycoursessearchthreshold
Default6

Additional Sidebar Content

Groups related options together in the admin panel.

Text area

Custom Text (Top)

Custom content between logo and main navigation. Accessibility : this region is output before the main page column in HTML order; avoid <h1>–<h6> unless they fit your heading hierarchy (otherwise tools such as WAVE may report skipped heading levels). For heading-looking text without changing the outline, use e.g. <p class="h4 mb-0">…</p> .

Admin keytheme_xy/customstcontent
DefaultEmpty
Text area

Custom Text (Middle)

Custom content between main navigation and "My Courses". Accessibility : avoid inappropriate heading tags here—same guidance as Custom Text (Top/Bottom): sidebar markup runs before main content, so stray headings often trigger skipped-level alerts; use a styled paragraph instead if you only need visual emphasis.

Admin keytheme_xy/customsmcontent
DefaultEmpty
Text area

Custom Text (Bottom)

Accessibility : the sidebar appears early in the page markup; avoid <h1>–<h6> here unless they match your page outline (otherwise auditors such as WAVE may flag skipped heading levels). For heading-looking text without changing the outline, use e.g. <p class="h4 mb-0">…</p> .

Admin keytheme_xy/customsfcontent
DefaultEmpty

Tooltips

Groups related options together in the admin panel.

Text area

Sidebar label (opened state)

Learn about adding multi-language content: Documentation

Admin keytheme_xy/labelsidebaropened
DefaultOpen the sidebar
Text area

Sidebar label (closed state)

Label shown when the navigation drawer is collapsed. Learn about adding multi-language content: [Multi-language content filter](https://docs.moodle.org/402/en/Multi-language_content_filter).

Admin keytheme_xy/labelsidebarclosed
DefaultClose the sidebar

Turn off the sidebar

Customize the sidebar visibility on particular pages.

On / off

Front Page

Turn this option on or off.

Admin keytheme_xy/turnoffsidebarfp
DefaultOff
On / off

Dashboard

Turn this option on or off.

Admin keytheme_xy/turnoffsidebardashboard
DefaultOff
On / off

Course Page

Turn this option on or off.

Admin keytheme_xy/turnoffsidebarcourse
DefaultOff
On / off

In-course Page

Turn this option on or off.

Admin keytheme_xy/turnoffsidebarincourse
DefaultOff
On / off

Report Page

Turn this option on or off.

Admin keytheme_xy/turnoffsidebarreport
DefaultOff
On / off

Standard Page

e.g Calendar, Private Files

Admin keytheme_xy/turnoffsidebarstandard
DefaultOff
On / off

Admin Page

Turn this option on or off.

Admin keytheme_xy/turnoffsidebaradmin
DefaultOff