Content parts
On this page:
Description
Content parts are a feature that allows administrators, managers, and selected users to build custom content with the page builder and then use it anywhere they want by adding a simple shortcode.
[mb2part id="x"]
where "x" is the unique ID of a content part.
Create a new content part
To create a new content part:
- Go to course or course category.
- On the quick links menu click the "Cpntent parts" link .
- Click the "New content part" button.
Add a content part to a course
To add a content part to a course:
- Copy a shortcode of a content part .
- Go to course.
- Turn editing ON .
- Add the "Text and media area" resource .
- Paste a content part shortcode into the "Text" area.
It is NOT recommended to add a content part shortcode to course descriptions, category descriptions, or section descriptions.
Add a content part to the site
To add a content part to the site:
- Copy a shortcode of a content part .
- Turn editing ON .
- Add the "Text" block (or the "HTML" block in older versions of Moodle).
- Configure a new text block and paste the content part shortcode into the "Content" area.
Content part management permissions
To add users (e.g. teachers) permission to use content parts: