course/editsection


目录

Parts of a course

800px-5.3_MDL-87805_coursepagelayout_v2_EN.png
A course page with the course index on the left, course sections in the centre and the block drawer on the right.

In courses using the Custom sections or Weekly sections format, learners can also move through the course in order with the Previous and Next buttons at the bottom of each activity and resource page. See Course linear navigation.

Course sections

Add course sections

  1. Turn on edit mode.
  2. For weekly format, scroll to the bottom of the course page and click Add week
  3. For other format such as custom sections, you can add sections between other sections on the course page by pressing the plus + sign.

44weeksection.png

Add a subsection

add subsection
add subsection

With edit mode on you can add an activity or resource directly to the course page or add a subsection.

Subsections

A subsection works like a normal section but can be placed anywhere within sections. Links to a subsection, for example from the course index, the breadcrumbs or a permalink, open its parent section's page at that subsection, and the subsection's menu has no View option. Note that it is not possible to add subsections to subsections, and that adding subsections counts as part of the maximum number of sections in your course. This means that, for example, if the maximum number of sections allowed is 5 and you have 3 sections and 2 subsections, you will no longer be able to add any more sections.

Subsections are enabled by default in Moodle 5.0 onwards. If required, subsections can be disabled by an admin in Site administration > Plugins > Activity modules > Manage activities.

Note: From Moodle 5.2, subsections no longer have a description field. Existing subsection descriptions are kept and hidden. An administrator can migrate them to Text and media areas at the top of each subsection, or delete them, from Site administration > Plugins > Activity modules > Subsection.

Edit a course section

  1. Turn on edit mode.
  2. Quickly rename sections from the pencil icon.

Move a course section

Note: The ability to move course sections is controlled by the capability moodle/course:movesections, which is allowed for the default role of teacher. See also the section below on Bulk editing.

  1. Turn on edit mode.
  2. Drag and drop the section either from the course central area or the Course index to your chosen location.

If your course is long you can also drag from the central area to a location in the Course index, and/or you can click the three dots next to a section, select Move and choose the location to move it to.

Duplicate a course section

  1. Turn on edit mode.
  2. From the three dots to the right of the section name, click Duplicate.

Subsections can be duplicated in the same way, from the three dots to the right of the subsection name.

  1. Turn on edit mode.
  2. From the three dots to the right of the section name, click Permalink.

View a single course section

View a single section when edit mode enabled

Delete a course section

With edit mode on, click the three dots to the right of the section name, then click Delete. You will be prompted to confirm your wish to delete the section and its contents. Note that all activities inside the section and their user data will also be deleted. Use the Recycle bin to reverse this if you do it by mistake.

Activities and resources

Add activities and resources

To add an activity or resource to the course, turn on edit mode, then either:

Alternatively, certain resources and activities may be added using drag and drop:

Move activities or resources

  1. Turn on edit mode.
  2. Drag and drop the item either from the course central area or the Course index to your chosen location.

If your course is long you can also drag from the central area to a location in the Course index, and/or you can click the three dots next to an item, select Move and choose the location to move it to. See also the section on Bulk editing.

Indent activities or resources

If allowed by admin (see Course formats) teachers can move an activity or resource once to the right. This indentation is also reflected in the course index.

Change availability

With edit mode on, click the three dots to the right of an activity and select Availability. You can then:

Once a choice has been made, as a teacher you can then edit it directly from under the item:

availabilitydirect.png

Group mode

With edit mode on, when you hover over an activity or resource supporting groups, a group mode icon appears. Click on it and a modal window will display allowing you to select visible/separate or no groups. You can also access Group mode options from the activity actions submenu (three dots to the right).

groumodeicons.png

Students do not see these icons.

Bulk edit activities, resources or sections

Blocks

The Boost theme displays blocks in the block drawer on the right. Contributed themes might display them elsewhere.

To add a block to the course page

  1. Turn on edit mode (top right).
  2. Expand the block drawer and click Add block. Select your block.

To move a block

  1. With Edit mode on, click the crosshair icon on a block.
  2. While keeping the block selected, drag it to where you want to position it and let go.

Course homepage capabilities

See also


Source: docs.moodle.org/503/en/course/editsection — MoodleDocs (GPL) · Imported 2026-11-10.


版本号 #3
由 cocobook-sync 创建于 2026-11-10 16:15:12 UTC
由 cocobook-sync 更新于 2026-11-11 00:26:40 UTC