Moodle course subsections

Subsections let long Moodle courses be organised into nested sections. This page covers what the feature does across releases, the decisions to make before rollout, and what the work involves when a partner is brought in.

On this page

When Moodle course subsections are the right structure for long courses

Course subsections let a long Moodle course group its activities and resources under nested headings inside a parent section, so a multi-week or multi-module course can read as a set of units rather than one long list of sections. Teams adopt them when a flat sequence of sections has become hard for learners to navigate and hard for designers to maintain, usually in courses with many weeks, modules or assessment blocks that share a common structure. The feature arrived in Moodle 4.5, where it was disabled by default, and the Moodle 4.5 release notes cover its introduction, including support in the mobile app. Moodle 5.0 enabled it by default on new sites, and on upgrade to 5.0 unless the keepsubsectiondisabled setting is present in config.php, so the state of the feature on a given site depends on its history.

The release history changes the design decision, not just the settings. Moodle 5.2 removed subsection pages and the subsection description setting, and existing descriptions are handled by a migration or delete task that the Moodle 5.2 release notes describe. Any course that stored its unit introductions in subsection descriptions must be reviewed before or during the upgrade, and teams should confirm which of their courses carry those descriptions and where the content should move. Confirm the state of mod_subsection on your current and target versions in the Moodle config-dist.php file before you commit a course template to subsections.

Before standardizing on subsections, decide which content lives at the subsection level, which activities must stay at the top level for reporting or completion tracking, and how the course will look on the 5.2 line where subsection pages no longer exist. Run a test course on your target version, check the mobile app view and the gradebook and completion reports, and record the outcome. If your courses rely on subsection descriptions, a course template built on subsections should be agreed with the course design team and the platform owner before the upgrade plan is approved.

What Moodle course subsections do in core

Course subsections in Moodle are a core feature whose availability depends on the version you run and how the site was installed or upgraded. The cards below cover what the feature is, how its enabled state is decided, and what teachers and learners see, so you can check the state on your own site before you plan course structure.

Subsections arrived in Moodle 4.5

Course subsections were added in Moodle 4.5, which lets a teacher group activities and resources inside a course section under a nested heading. The 4.5 release notes also list subsection support in the mobile app, so learners on the app see the same grouping. Confirm the version on your staging site first, because a 4.4 or earlier site will not have this option at all.

Moodle 4.5 release notes

Disabled by default in 4.5

The config-dist.php file records that mod_subsection was added in 4.5 but disabled by default. A site that upgrades to 4.5 does not start offering subsections to teachers unless an administrator enables the module. Check the plugin's enabled state in site administration before you write any course design guidance for staff.

config-dist.php source

Enabled by default on new 5.0 sites

Moodle's configuration notes say mod_subsection is enabled by default on new 5.0 sites. A new installation therefore offers subsections without an extra administrator step, which can surprise a team that has only used the feature in test courses. Ask whether your installation started at 5.0 or later before assuming the state.

Enabled on upgrade unless kept off

Sites upgraded to 5.0 have subsections enabled on upgrade unless the keepsubsectiondisabled setting is present. Teams that deliberately kept the module off during 4.5 should set this key before upgrading, or they will find subsections switched on for every teacher after the upgrade. Record the decision in your upgrade plan and test it on a copy of the database.

What teachers see in a course

When the module is enabled, a teacher can add a subsection inside a course section and place activities and resources within it. The teacher's course page then shows the nested grouping, which helps long courses stay readable. Walk through one sample course on a test site to confirm which editing controls your staff roles can reach.

What learners see on the course page

Learners see the subsection heading and the activities it contains in the course view, and the 4.5 notes state that subsection support extends to the mobile app. Because the state is set per site, two courses on the same site will always behave the same way. Test the learner view on both the web and the app before you rely on the structure for a cohort.

Moodle 4.5 release notes

Configuration decisions before turning subsections on

This table compares the decisions a Moodle team makes before enabling subsections, from the site-level switch to course-by-course structure and the 5.2 removal of subsection pages. Read each row as a question to settle in writing, with the option that fits and the cost of choosing it. The main takeaway is that the site setting is quick to change, but course structures and any descriptions you have written are harder to unwind.

DecisionWhen it fitsTrade-off
Enable mod_subsection site-wideMost sites on 5.0 or later that want nested weekly or module structure across many coursesTeachers gain a new structure option everywhere, so training and course templates need updating to match
Keep subsections disabled on the siteSites with heavy custom theme or template work that has not been tested against subsectionsLong courses stay flat, and teachers may keep building workarounds such as label-based headings
Adopt subsections in existing 4.x coursesCourses with clear weekly or unit groupings that would benefit from collapsible structureEach course needs restructuring and review, and content moved into subsections must be checked for links and completion settings
Keep existing courses as flat sectionsArchived courses, courses in active delivery mid-term, or courses with heavy reliance on section numberingLower effort now, but a later move to subsections will be a separate project per course
Set keepsubsectiondisabled during the 5.0 upgradeSites that need time to test subsections before any teacher sees themDelays the feature for everyone, and the setting must be reviewed later so it does not become a permanent default by accident
Structure by week or by calendarCourses that run on a fixed weekly schedule with dated activitiesSubsections that mirror weeks can become stale when a course is rescheduled or shortened
Structure by module or unitCourses with self-contained learning units, assessment blocks or competency groupingsTeachers must agree unit boundaries first, and cross-unit activities need a home that is not confusing to students
Structure by assessmentCourses where grading events drive the timeline, such as a set of graded assignments and quizzesStudents may navigate by assessment rather than by learning sequence, so pair this with clear instructions
Plan for the 5.2 removal of subsection pages and descriptionsAny site that has written subsection descriptions or plans to use them as course contentDescriptions must be migrated or deleted under the 5.2 task, so move key text into visible activities or labels before upgrading

What the 5.2 removal of subsection descriptions means for existing courses

Moodle 5.2 removed subsection pages and the subsection description setting, so any text that course teams wrote into subsection descriptions has to be dealt with before or during the upgrade. The 5.2 release notes say a task migrates or deletes existing descriptions. Do not assume the outcome. The exact behaviour, including where migrated text lands and whether anything is discarded, must be confirmed against the Moodle 5.2 release notes and tested on a copy of your own courses.

Start with an inventory. Ask each faculty or course owner, and check your own records, which courses use subsections with descriptions, and which of those descriptions carry content that students rely on, such as due dates, grading rules, assessment briefs or accessibility notes. Export or copy that text before any upgrade, so you hold a record independent of the migration task. Treat the inventory as a decision list: for each course, decide whether the text belongs in the parent section summary, in an activity description, or in a label (a short piece of text that sits between activities on the course page), or whether it can be retired.

Plan the change as a content task, not only a platform task. Course designers will need to review migrated text in a staging copy, check that it still reads correctly outside its former subsection, and fix any links or references that pointed to the removed page. Record the decisions per course so auditors or accreditors who ask how course content changed can see what moved and why. Confirm the sequence with your own test environment before scheduling production work.

How to roll out subsections on a live Moodle site

This sequence moves subsections from an idea to a standard that teachers use consistently, while keeping the live site stable and leaving a way back if the rollout needs to pause. Each step produces a record that the next step depends on.

  1. Confirm the Moodle version and upgrade path

    The site administrator and the platform team record the current Moodle version and check it against the upgrade notes for the target release. Subsections arrived in 4.5, so a site on an earlier version must upgrade before anyone can use them. Confirm the database, PHP and web server requirements for the target release, and confirm whether the site will cross the 5.2 change. The output is a written version record with the target release, the upgrade route and a dated note on whether subsection pages and descriptions are in scope.

  2. Audit existing course structures and descriptions

    Someone from the platform team, with a sample of course owners, lists which courses already use sections as a stand-in for subsections and where subsection descriptions or subsection pages are in use. Export or record any descriptions that teachers rely on, because 5.2 removes the subsection description setting and requires a task to migrate or delete existing descriptions. Count courses by pattern, not by name, so the audit shows which templates need changes. The output is an audit sheet of structure patterns, affected courses and descriptions that need a decision.

  3. Decide the enablement policy

    The platform owner decides whether subsections are enabled site-wide, enabled for selected categories, or left disabled until the pilot ends. Check the site's configuration for the subsection module, since the configuration file records that it is enabled on new 5.0 sites and on upgrade to 5.0 unless the keepsubsectiondisabled setting is present. Record who can change the setting and how changes are logged. The output is a signed enablement policy that names the setting, the owner and the categories in scope.

  4. Write the course structure standard

    Working with academic leads, the team defines when a course uses subsections, how many levels of section and subsection a teacher may create, how titles are written and where assessments and resources sit. The standard should state which content belongs in a subsection and which stays at section level. Include a note on how to handle descriptions that were moved or removed in the audit. The output is an approved structure standard, with examples drawn from the audit, that the pilot will test.

  5. Pilot with a small set of courses

    Choose a small group of courses from different disciplines and at least one long course, then rebuild them under the standard with their teachers. Ask the pilot teachers to complete a navigation check with students, including learners using the mobile app, since subsections were added to the app in 4.5. Record problems in an issue log and fix the standard where the pilot shows gaps. The output is a pilot sign-off from the academic lead and the platform owner, plus a rollback note stating how to disable subsections for affected courses if the wider rollout must pause.

  6. Rebuild templates and course-creation guidance

    Update course templates, course-creation guidance and any copy-from-course workflows so that new courses follow the approved standard by default. Remove or revise any template that relies on section descriptions or subsection pages that are scheduled to disappear. Publish a short guide for course creators that shows the structure in practice. The output is a set of updated templates and a published guide, with a named owner who approves changes to them.

  7. Train teachers and course owners

    The training lead delivers short sessions for teachers, using the pilot courses as worked examples and covering how to move content between sections and subsections. Confirm that each teacher has been trained before their courses move to the new structure, and provide a contact for questions during the first term of use. Track attendance and open questions in one register. The output is a training register showing who completed the session and which questions remain open for the platform team to answer.

  8. Plan for the 5.2 change

    If the site will move to 5.2 or later, the platform team reviews the descriptions recorded in the audit and assigns each one either to migration or to deletion, based on the release notes for the change. Confirm the migration task behaviour in a test environment before the production upgrade, and record what teachers must check after the upgrade. Ask the vendor or the upgrade partner to confirm any remaining details that the release notes do not cover. The output is a 5.2 readiness note listing affected courses, the decision for each description and the post-upgrade checks.

What drives the effort of restructuring courses

This table lists the factors that most change how much work it takes to restructure Moodle courses around subsections, with the effect of each factor and what to ask a partner to include in a quote. Read it before scoping, because the number of courses matters less than how many of them carry subsection descriptions, share a template or depend on reused content.

DriverWhy it changes effortWhat to ask for in a quote
Number of courses and their lengthEach course needs its sections mapped to subsections, and long courses with many sections take longer to review and test than short ones.A per-course inventory with section counts, and whether the work covers all courses or a priority set.
Courses with subsection descriptionsMoodle 5.2 removed subsection pages and the subsection description setting, and a task migrates or deletes existing descriptions. Each described subsection needs content moved or reviewed before upgrade.A count of subsections with descriptions, the planned migrate-or-delete decision for each, and who signs off the content.
Shared course templatesCourses built from one template can be restructured once and copied, which lowers effort. Courses built by hand each need their own pass.Whether the quote covers a master template and how many derived courses are updated from it.
Reuse through the question bank or backupsReused activities and backups that carry old section layouts must be checked after restructuring, so shared content can break in several courses at once.The list of shared question banks and backup files, and the testing covered for courses that restore them.
Teachers who need trainingTeachers must learn how subsections group activities and how to edit them. Effort grows with the number of teachers and the number of course formats they use.Number of trainees, training format, and whether materials are written for your course design.
Custom themes and templatesTheme or template overrides that control section display may need changes to show subsections correctly, and each custom layout must be tested across the courses that use it.A list of custom themes and template overrides, and whether display testing is included.
Mobile and student-facing reviewSubsections also appear in the mobile app from Moodle 4.5, so student views need checking alongside the desktop layout.Which devices and student roles are covered by the review.
Timing against upgrade datesRestructuring before or after the 5.0 default change and the 5.2 removal changes which settings and descriptions must be handled.The target Moodle version, the upgrade path and whether subsection settings are reviewed before the upgrade.

How the approach differs by site situation

On a new Moodle 5.x site, the subsection module is enabled by default, so course designers will see subsections from the first course they create. The planning question is whether subsections are the right structure at all, and if so, which courses should use them. Settle that before course templates are built, because templates copied into many courses carry the structure with them.

  • Confirm the intended use: Decide whether subsections will serve long courses only or become the default for every course.
  • Set the course template: Decide how sections, subsections and activity placement should look in the starter course used by designers.
  • Decide on the mobile experience: Check how learners on the mobile app will navigate subsections before rollout.
  • Brief course designers: Explain when to use a subsection and when a plain section is enough, so structures stay consistent.
  • Plan for later removal risk: Record which courses depend on subsections so any future change to the feature can be assessed quickly.

Before go-live, check the default setting on your own site and confirm the template courses you intend to copy.

The decision path from upgrade to course structure standard

The path starts with the Moodle version the site runs today, since the upgrade route decides whether mod_subsection is switched on. Next, check whether keepsubsectiondisabled was set during upgrade and whether any courses hold subsection descriptions. If the site will reach 5.2, those descriptions need a migrate or delete decision before the upgrade. Only then should the team write the course structure standard and test it in one pilot course.

Decision steps from the current Moodle version to a pilot course structure.

Questions teams ask before bringing in a partner

How much effort do subsections take to set up in a long course?

Effort depends mostly on how many courses you restructure, how much of each course is already organised into topics or weeks, and whether the content has to be re-sequenced rather than just grouped. Subsections are a course format feature, so the technical switch is small. The larger cost is the design work: deciding the outline, moving activities into the right subsections, and checking that navigation still makes sense to learners. Ask any partner to price the design pass and the verification pass separately, and to state how many courses are in scope. Teachers' time is usually the biggest unpriced cost.

How long does restructuring a course with subsections usually take?

The timeline is set by the number of courses, the number of teaching teams who must sign off, and how much existing content needs to move. Sites that move to Moodle 4.5 or later and enable subsections in a small pilot can plan a short cycle per course, while a full catalogue redesign takes longer because each course needs review. Ask for the schedule to be written around review rounds and term dates, not calendar weeks alone. Any duration a partner quotes should follow from the written scope.

What do teachers and administrators need to provide?

Restructuring goes faster when the people who own each course supply the intended learning sequence, the list of activities to keep or retire, and a named reviewer who can approve changes. Administrators need to confirm which Moodle version the site runs, whether subsections are enabled, and who may change course formats. Expect to schedule short review sessions and to give the team access to a staging copy of the site. Without these inputs, rework usually comes late in the cycle.

Can an internal team restructure courses on its own?

Yes, many internal teams can do it, provided they have someone who understands Moodle course formats, permissions and backups, and they have time to test before term starts. The work is manageable for a small number of courses. A partner adds value when the change spans many courses, when the site is also being upgraded, or when the team lacks capacity to test and document the result. Ask whether the partner will train your staff and hand over the outline standards so the work does not depend on one person.

What happens to subsection descriptions in Moodle 5.2?

Moodle 5.2 removed subsection pages and the subsection description setting, and it includes a task to migrate or delete existing descriptions. Before upgrading, review every subsection that has a description and decide whether the text should move into a visible activity, a label, or the course summary, or whether it can be removed. Confirm with the vendor how the migration task handles your data and check the result on a staging copy. Do not assume the task has preserved wording or formatting exactly as it was.

How does upgrade planning affect the subsection change?

Subsections were added in Moodle 4.5, were enabled by default on new 5.0 sites, and are enabled on upgrade to 5.0 unless the keepsubsectiondisabled setting is set in config.php. A site that upgrades to 5.0 may therefore see subsections switched on without a course redesign. Plan the subsection decision before the upgrade so the change is deliberate. Check the Moodle 5.2 removal of subsection pages and descriptions as well, and sequence the content review before that release. Confirm your target version against the release notes and your server requirements.

What should the quote for this work include?

A useful quote lists the courses in scope, the target Moodle version, the outline standard to apply, the review rounds, the test and rollback steps, and the training or documentation handed over. It should also separate one-time design work from any recurring support, since later changes to course structure will need the same process. Ask for the assumptions behind each line, and confirm what is excluded, such as content authoring or changes to third-party plugins. DeployOpen issues a quote from the written scope, so agree the scope first.

How course subsections connect to the rest of the Moodle platform

Subsections touch more than the course page. Upgrades, theme overrides, backups, content migration, the mobile app and reporting each depend on how subsections are enabled and used, so plan them together before the structure is built.

Upgrades and version planning

Subsection availability depends on your version and on how the site was upgraded. Moodle 4.5 added the feature but left it disabled by default, while new 5.0 sites have it enabled and upgraded 5.0 sites enable it unless the keepsubsectiondisabled setting is set. Check the flag in config-dist.php and your site state before any upgrade, and plan the 5.2 change to subsection pages and descriptions as a dated task.

Moodle 5.2 notes

Theme and template overrides

Custom themes and template overrides that place section content, headers or navigation may not match how subsections render. Review any Boost-based theme or template override that touches course sections, and test a course with nested subsections on a staging copy. Confirm the behavior in your own theme before go-live.

Backup and restore of courses

Backups and restores should preserve the subsection structure, activities placed inside subsections and their settings. Restore a course with subsections into a test site running the same version, then check section order, visibility and completion. Confirm restore behavior across versions before moving courses between sites on different releases.

Migrating course content

Content imported from another system or from an older Moodle course usually arrives as flat sections. Plan the mapping from source modules to subsections before import, and decide which existing section descriptions must be moved or removed in line with the 5.2 change. Test a sample course end to end.

Mobile app experience

Moodle 4.5 added subsection support in the mobile app, but learners on older apps or heavily customised navigation may see a different layout. Test the course view on the mobile app version your learners use, including deep nested activities and completion indicators, before rolling subsections out to a whole programme.

Moodle 4.5 notes

Reporting and completion tracking

Completion rules, gradebook views and course reports should be checked against subsection structure, since learner progress may be summarised differently at subsection level. Confirm which reports and completion conditions your organisation relies on, and verify them against sample data after the structure is finalised.

How DeployOpen scopes Moodle course structure work

DeployOpen scopes subsection work in a written, fixed-scope agreement before any course is touched, because the decisions that matter (which courses adopt subsections, how existing descriptions are handled, and who signs off the structure standard) are easier to settle on paper than mid-build. DeployOpen is a Chainscore Labs company. The written scope names the Moodle versions in play, the courses in or out of the pilot, the subsection standard to be delivered, and the handover items. A quote follows from that written scope, so the reader should expect the scope document to come first and the price to follow from it.

The work starts with an audit of existing courses. For each course, DeployOpen records whether sections are being used as de facto subsections, which activities sit in which section, and whether any section summaries carry text that would need a plan under the 5.2 removal of subsection descriptions. Teams should confirm which site version they run and whether keepsubsectiondisabled is set in config.php, since that setting decides whether an upgrade to 5.0 turns subsections on. The audit output feeds a structure standard covering naming, depth, what a subsection may contain and when a course should not use one. A pilot then applies that standard to a small set of courses so the teaching team can test it against real learner navigation before wider rollout.

Handover covers the structure standard, the audit log, the pilot results and short training for course designers and administrators. Retainers are available for upgrades that touch subsection behaviour, such as moving across future major releases, and for periodic reviews of new courses against the standard. Those costs recur, while the audit, standard and pilot are one-time. Ask any partner, DeployOpen included, to name each deliverable, who approves it, and what is excluded from the fixed scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.