## Activities: oohoo - Tab display

mod_tab
Maintained by Patrick Thibaudeau, 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.
25k
2
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

### Contributors

Nicolas Bretin: Programmer

• Thu, Nov 29, 2012, 12:21 PM
OK thanks Patrick, now installed in Mod folder and working (but the README file needs updating)!

Installation
--------------------------------------------------------------------------------

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

• Wed, Dec 5, 2012, 7:50 AM
Hi Nyree,
I corrected the Readme file with "mod".
• Fri, Jun 14, 2013, 4:09 PM
It would be useful to be able to attach files at each available tab..
• 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.
• Thu, Jul 11, 2013, 7:17 AM
Great plug in, but FAILING the latest release.. DO NOT UPDATE YOUR SYSTEMS.. It has a fault
• Fri, Jul 19, 2013, 3:21 PM
error
Refused to display ' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
• Thu, Jul 25, 2013, 12:57 AM
Hi,

This is probably a Youtube restriction.

You have 2 solutions:
- 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

Nicolas
• 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.
• Fri, Nov 29, 2013, 8:15 AM
How I can do to display tabdisplay from an Ipad or Smartphone?
• Thu, Jan 23, 2014, 8:03 PM
Hi,

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

Thanks,

Nick
• Fri, Feb 7, 2014, 1:56 AM
How do I delete a tab I don't want?
• Fri, Feb 7, 2014, 2:00 AM
Nevermind. I figured it out! Just delete the contents of the tab you don't want!
• 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.
• 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
• Tue, Apr 28, 2015, 10:52 PM
hola Alguien ha usado tab display en moodle 2.7 o en moodle 2.8 saludos... a todos.