Tabs icon

Tabs

Maintained by José Puente Fuentes
Moodle filter which creates tabs in textfields
Price option: Free
Supports Moodle 2.2-5.2 See all versions

Latest release: 1 month ago
Installations: 493
Downloads (last 90 days): 342

Frankenstyle name: filter_tabs
Filters

Description

This is a simple Moodle filter which creates tabs in textfields.

First, activate the filter_tabs plugin in Site Administration -> Plugins -> Filters -> Manage filters

To create tabs in textfields where the filter is activated, simply use the following syntax:

{%:Tab title}Tab text{%}

Example

The following placeholders in a textfield:

{%:First tab}Some text{%}
{%:Second tab}Another text{%}


will produce this tab group:

+-------------+------------------+
| First tab | Second tab |
+---------------------------------+
| Some text                      |
|                                         |
+---------------------------------+

Bootstrap 5, 4, 2 and YUI theme styles are supported.

Important note about HTML content insertion

If you want to include HTML content in the tab body, you must use the editor in "code mode", because if you use "normal" mode directly, the HTML will look exactly as it is entered, and not the desired result.

Contributors

Awards

Automated testing support
Privacy friendly
Early bird 4.0