Your Moodle version

Activities: oohoo - Tab display

Maintained by Picture of Patrick Thibaudeau Patrick Thibaudeau, Picture of Nicolas Bretin Nicolas Bretin
The tab display module allows you to setup your information in a tabbed format. This helps to clean up your course by combining several resources into Tabs.
Moodle 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6

Tab Display is a resource module used to display course information such as notes, readings, biography etc, in a tab structure per chapter/module within a course.

Websites can also be embedded into the tabs. Using Moodle auto-linking, helps create links to other activities or resources.

New features:

  • A general description can be added above the tabs
  • PDF embedded functionality. If you put a link with a PDF file on the content of a tab (without any text around), the PDF file will be displayed in an iFrame




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

Comments RSS

Show comments
  • Picture of Patrick Thibaudeau
    Wed, Nov 28, 2012, 1:02 AM
    Hi Nyree

    Innocent mistake. Has happened to me before. The tab display is not a block. It's an activity module and therefore must be installed in the mod folder and not the blocks folder.
  • Picture of Nyree Williams
    Thu, Nov 29, 2012, 12:21 PM
    OK thanks Patrick, now installed in Mod folder and working (but the README file needs updating)!


    1. Rename the folder to 'tab'
    2. Copy the folder tab to moodle/blocks
    3. Install the plugin

  • Picture of Nicolas Bretin
    Wed, Dec 5, 2012, 7:50 AM
    Hi Nyree,
    I corrected the Readme file with "mod".
    Thanks for your comment!
  • Picture of Andreas Panagiotopoulos
    Fri, Jun 14, 2013, 4:09 PM
    It would be useful to be able to attach files at each available tab..
  • Picture of Patrick Thibaudeau
    Fri, Jun 14, 2013, 11:56 PM
    Hi Andreas

    Do you mean that when you click on the tab, it opens a word file or other file type.
  • Picture of Paul Vivian
    Thu, Jul 11, 2013, 7:17 AM
    Great plug in, but FAILING the latest release.. DO NOT UPDATE YOUR SYSTEMS.. It has a fault
  • Picture of shailesh jai
    Fri, Jul 19, 2013, 3:21 PM
    Refused to display ' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
  • Picture of Nicolas Bretin
    Thu, Jul 25, 2013, 12:57 AM

    This is probably a Youtube restriction.

    You have 2 solutions:
    - Replace your URL in the embed field to
    - Use the Moodle Media filter to automatically replace the URL by the player. Just put your link in a link tag, Moodle will do the rest

  • Picture of Ahava Cohen
    Sun, Sep 29, 2013, 4:59 PM
    I love this plug in and have been recommending it to lecturers. Is there a way to add a link from the bottom of one tab to the top of the next? Our students are unused to tabbed displays in the CMS, and we'd liek to spoon-feed them the transition.
  • Quetzal
    Fri, Nov 29, 2013, 8:15 AM
    How I can do to display tabdisplay from an Ipad or Smartphone?
  • Picture of Nick Varney
    Thu, Jan 23, 2014, 8:03 PM

    This is used extensively across our installation and is a superb plugin. Any plans/eta for a 2.6 version?


  • Picture of David Henderson
    Fri, Feb 7, 2014, 1:56 AM
    How do I delete a tab I don't want?
  • Picture of David Henderson
    Fri, Feb 7, 2014, 2:00 AM
    Nevermind. I figured it out! Just delete the contents of the tab you don't want!
  • Picture of Nick Varney
    Mon, Feb 10, 2014, 10:47 PM
    This seems to work fine when testing in Moodle 2.6 . However we would really appreciate confirmation from the authors on its suitability in 2.6 before we install it on our production Moodle site.
  • Picture of Rodney Wolford
    Wed, Feb 26, 2014, 7:02 AM
    I use your tab display all the time, but I got tired of seeing the "deprecated error" with debugger running, so I changed three code lines as follows:

    In mod/tab/view.php
    line 53
    //$context = get_context_instance(CONTEXT_MODULE, $cm->id); old line becomes:
    $context = context_module::instance($cm->id);
    line 54
    //$coursecontext = get_context_instance(CONTEXT_COURSE, $course->id); old line becomes:
    $context = context_course::instance($course->id);

    Then in mod/tab.lib.php
    line 186
    //$context = get_context_instance(CONTEXT_MODULE, $cmid) -- old line, becomes:
    $context = context_module::instance($cmid);

    I have two questions about this: 1) Is this alright to do, no problems? And 2) if it is OK, then couldn't it be used in an update release of your TAB module?

    Rod Wolford
1 2
Please login to post comments