How to create tabbed content in your Moodle course #moodle

Do you want to consolidate multiple pieces of information into tabbed content within your Moodle course? Tabs within a page are a way to consolidate information in a compact way. They are a way to present chunked information that is related. Tabbed content will help you in cleaning up your course page by combining several resources into tabs. But how do you create tabbed content in your Moodle course?

There are multiple ways to add tabbed content within Moodle but unfortunately it is not supported in Moodle core. You need to install additional plugins to make it work. In this article, I am going to discuss about the Tabs filter plugin which is going to be extremely useful to the MoodleWorld readers. It allows content to appear organized better by breaking it down into manageable chunks of information.

Creating Tabbed Content using Tabs filter Plugin:

You can download the latest version of the Tabs Filter plugin for Moodle from this link. Recently, the plugin was updated for Moodle 3.3 version and now it supports all Moodle version since Moodle 2.2. Once installed, you need to enable the filter through Site administration > Plugins > Filters > Manage filters – and change the Active setting for the Tabs filter to either On or Off, but available. If you choose, Off, but available, then you have to enable the filter within the respective course or activity by going to the Filter menu item in the administration block.

Once the filter is enabled, then you can create tabbed content in text field by simply use the following syntax:

{%:Tab title}Whatever text you would like to display in the tab{%}. 

Repeat the same for all the tabs you need.

Tabs filter plugin works like a charm with all Bootstrap 4 based themes also. I checked it in my local Moodle 3.3 environment.

 

Creating Tabbed Content using Generico filter:

The other way to add tabbed content in your course area is through the Generico filter which is the Swiss army knife of all Moodle plugins. For those who still don’t know about the Generico filter, let me recall that it is template filter which can be used to create multiple templates of code and use them in all Moodle text areas.

In order to create tabbed content with generico, just check out this template example as mentioned by Justin Hunt – the plugin developer himself. For other applications of Generico filter, check out this dedicated Generico filter showcase.

What are the other ways to create tabbed content in Moodle? Do you know any other plugins which add content in tabs? Do let us know in the comments section below.

Jaswinder Singh

Jaswinder Singh, passionate about using Moodle in improving the Indian Education System and reaching the students in far flung areas where still education seems to be a impossible prospect of life. He is the author of the popular Moodle Book "How to use Moodle 2.7". In October 2016, Jaswinder was elected as the Moodle User's Association Committee member - the first to make it from India.

Related Articles