Course formats: oohoo - TabTopics format

Maintained by Picture of Nicolas Bretin Nicolas Bretin, Picture of Patrick Thibaudeau Patrick Thibaudeau
This Moodle course format displays each section in a tab
490 sites
26 fans

This Moodle course format displays each sections in a tab.

New features in version 2.5.0

1. Updated for Moodle 2.5
2. Section 0 can now be a tab by option.
3. Left pane navigation affects tabs
4. Last tab visisted is now cached


Screenshot #0
Screenshot #1
Screenshot #2


Picture of Nicolas Bretin
Nicolas Bretin (Lead maintainer)
Picture of Patrick Thibaudeau
Patrick Thibaudeau: Maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Ger Tielemans
    Fri, 20 Nov 2015, 4:50 PM
    If you use a bullet list on the main / course overview page, the bullets are visible in edit mode but not in view mode.
    It is not only in the title description field and the label resource, but also in the description field for the other resources/activities when you check the box to show the description on the overview page under the title

    this is the sinner:

    ul.sectionul li
    list-style-type: none;

    After removing this element, you end up with a single bullet above the tabs (I think it is from section zero?)

    We use the template in Moodle 2.6 (but the problem is also visible in my 2.9 and 3.0 try-outs)
  • Just wondering . . .
    Sun, 29 Nov 2015, 10:30 AM
    Some conversations over in the Formats Forum:
    I think we are all wondering if this will be OK for 3.0

  • Picture of Irith Herman
    Tue, 1 Dec 2015, 6:29 PM
    I"m using moodle 2.7

    when I open the course I got this error

    Strict Standards: Declaration of format_tabtopics_renderer::section_hidden() should be compatible with

    format_section_renderer_base::section_hidden($sectionno, $courseorid = NULL) in

  • Picture of Christopher Molnar
    Thu, 21 Jan 2016, 11:09 AM
    This this plugin being supported anymore?

    Moodle 3.0.2
    [Wed Jan 20 11:39:07.815849 2016] [:error] [pid 7894] [client] PHP Strict standards: Declaration of format_tabtopics_renderer::section_hidden() should be compatible with format_section_renderer_base::section_hidden($sectionno, $courseorid = NULL) in /home/pcilms/moodle3/course/format/tabtopics/renderer.php on line 21, referer:
    [Wed Jan 20 11:39:07.815885 2016] [:error] [pid 7894] [client] PHP Stack trace:, referer:

  • Just wondering . . .
    Thu, 21 Jan 2016, 12:36 PM
    My guess is 'no' Christopher. You may be out of luck with these guys. Sadly, I think they have moved on. See The last update here is 2012.
    There are some other alternatives. Try a search for 'tabs' you'll find Generico and at least one other tabs plugin.

    Or you can use Onetopic maybe?

  • Picture of Ger Tielemans
    Thu, 21 Jan 2016, 4:16 PM
    Hi Derek,

    It is a pitty that onetopic is missing the visual ques from TabTopics: the buttons on top where you can store keywords for the sections behind the tabs.

    Onetopic is "too abstract" for a normal user/ the old zoom-in/zoom-out function from the old standard template - even when you replace the icons with a magnifying glass with a pkus or a minus sign in the glass.
  • Picture of Susan Mariela Lara Torres
    Fri, 5 Feb 2016, 1:11 AM
    I'm using moodle V 2.8 .
    I have a problem, TabTopic format course is not displayed (Sunrise28 theme) in mobile. Can anybody help me?
  • Picture of Tim Lock
    Thu, 11 Feb 2016, 4:47 AM
    Hi All,

    I've created a fork of the project to supply the fixes we've identified for Moodle 2.9:
  • Picture of Ger Tielemans
    Fri, 6 May 2016, 4:42 PM
    Hi Tim Lock,

    Your patches solves also the warnings for tabtopics inmy Moodle 3.x test server, thanks!!

    Do you also have a solution for the bullet list problem I mentioned higher in this question list
  • Picture of Patrícia Freitas
    Thu, 22 Sep 2016, 10:21 PM
    Quando vai atualizar para versão 3.1
  • Picture of Bei Chapman
    Thu, 19 Jan 2017, 10:41 PM
    Hi there,

    I am using Moodle 3.1.1, and I have a problem with TabTopics format.

    The following error occurs when a user goes to edit/update a section title using that little pencil edit icon (just to the right of the section's title) for the quick editing. Please note, the formal "Edit" link still works.

    Error calling update processor
    File: ...mal/
    Stack trace: Error code: inplaceedittableerror

    The change is not saved.

    Any help is appreciated.

  • Also me
    Wed, 12 Apr 2017, 9:32 PM
    Thanks Tim, your fork has solved my upgrade woes.
  • Picture of Christopher Molnar
    Wed, 21 Jun 2017, 8:39 PM
    For the renderer.php error:

    diff renderer.old renderer.php
    111c111 < public function section_hidden($section) {
    > public function section_hidden($section,$course=NULL) {

  • Picture of Christopher Molnar
    Tue, 25 Jul 2017, 1:47 AM
    Does anyone have a solution for highlighting not showing in the tabtopic format on 3.3? Has to do with the code behind "setcurrenttopic" and "markerselected". I am no longer seeing where the css changes the color of the background.
  • Picture of Adam Palin
    Sun, 14 Jan 2018, 4:52 AM
    Has anyone come up with some ideas on how to ensure this course format works on a mobile phone?
    Thanks in advance.
1 2 3 4 5
Please login to post comments