Moodle Plugins directory: oohoo - Tab display | Moodle.org

oohoo - Tab display
Activities ::: 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.
Latest release:
494 sites
116 downloads
24 fans
Current versions available: 3
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
Patrick Thibaudeau (Lead maintainer)
Nicolas Bretin: Programmer
Please login to view contributors details and/or to contact them
I corrected the Readme file with "mod".
Thanks for your comment!
Do you mean that when you click on the tab, it opens a word file or other file type.
Refused to display ' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
This is probably a Youtube restriction.
You have 2 solutions:
- Replace your URL in the embed field to http://www.youtube.com/embed/xxxxxxxxxxxxx
- 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
This is used extensively across our installation and is a superb plugin. Any plans/eta for a 2.6 version?
Thanks,
Nick
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