Table des matières

Course Element: Two-Level Text

Introduction

The “Two-level text” course element presents a WYSIWYG editor allowing text entry as in an office-type text editor, in two different areas: a main area that is always displayed and an additional area.

Its interest lies in its ability to present a “Read more” or “Read less” link for the second area, allowing a display optimisation in the case of long text, which avoids having to scroll the display window when the second area is collapsed. It is an ergonomic facilitation element. It is a good substitute for displaying third-party documents (PDF, Word) because it makes updates easier.

Rendering example on a course

Form configuration

General

Using "placeholders"

Three placeholders have been developed. They allow an efficient substitution of an element entered “hard-coded”:

Usage example:

I want to place a link to an administration element that requires passing the course context as a parameter, such as for example a link to the session report.

Common settings

Restrict availability

Activity completion


Back to the user guide & pedagogical guide - Back to the Course Elements module index - Back to the plugins index - Back to the catalogue