Your Moodle version

Filters: Tabs

filter_tabs
Maintained by Picture of University of Ulm University of Ulm, Picture of Alexander Bias Alexander Bias
Moodle filter which creates tabs in textfields
9k
240
7

This is a simple Moodle filter which creates tabs in textfields.

To create tabs in textfields where the filter is activated, simply use the following syntax: {%:Tab title}Tab text{%}

Screenshots

Screenshot #0

Contributors

Picture of University of Ulm
University of Ulm (Lead maintainer)
Picture of Alexander Bias
Alexander Bias: Developer
Picture of Stefan Lehneis
Stefan Lehneis: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Heather Edick
    Sat, Oct 5, 2013, 5:29 AM
    This plugin has been, so far, terrific!
  • Picture of William Lu
    Thu, Jan 16, 2014, 4:30 AM
    It is fantastic, works beautifully in my Moodle2.6.
  • Picture of willem stempvoort
    Wed, May 7, 2014, 8:10 PM


    Hi Alexander,
    Great plugin which improves the display of content a lot.
    One question:

    I've made an anchor on a tabbed page but linking to the anchor refers to the tabs front page and not to the part of the page related to the specified tab.

    Is there a way to link directly to the page section under a specific Tab?

    Thanks

    Willem
  • Picture of Alexander Bias
    Wed, May 7, 2014, 9:06 PM
    Willem,

    as you have also created a github issue on https://github.com/moodleuulm/moodle-filter_tabs/issues/2, let's discuss the problem there.

    Alex
  • Picture of Usman Asar
    Mon, Nov 10, 2014, 4:49 AM
    Hi Alex, is there anyway, to use this tabs plug-in with your static-pages?
  • Picture of Alexander Bias
    Mon, Nov 10, 2014, 2:54 PM
    Dear Usman,

    it is not impossible, but I haven't tested it yet:

    a) The staticpages don't have a context in which you could activate a filter. You would have to enable the filter for the whole moodle system at the moment. This is a performance question which you would have to answer yourself.

    b) The staticpage plugin doesn't process filters when outputting the HTML content.
    Go to /local/staticpage/view.php, search for
    echo $html;
    and replace it with
    echo (format_string($html));

    This should get it going basically. But as I told you, it isn't perfect regarding to performance. To improve that, one would have to modify the staticpage plugin to support contexts.

    Alex
  • Just wondering . . .
    Tue, Nov 25, 2014, 7:48 AM
    May be able to upgrade to 2.8 in January.
    Has anyone tested this wonderful filter with 2.8??

    -Derek
  • Picture of Alexander Bias
    Wed, Nov 26, 2014, 3:36 PM
    Derek,

    as the filter is pretty simple, I don't expect that it will break with 2.8.

    However, as stated in the plugin's README file, our testing of 2.8 and our plugins will not start before christmas, due to our internal release cycle. If you can confirm that the plugin works for 2.8, I would be happy to hear your feedback so that I can add this information to the plugin repository.

    Thanks,
    Alex
  • Picture of Georg Wiesinger
    Thu, Dec 18, 2014, 9:37 PM
    Hi Alex!

    I have tested your Plugin on a Moodle 2.8.1+ instance and can tell you that it works like a charm.

    There is only one issue I have discovered some minutes ago: After activating the tabs plugin the custom menu items in the navbar do not work properly. When clicking one item its submenus are not shown, clicking another item suddenly shows the submenus of the previous clicked item.

    Thanks for this great work!

    George
  • Picture of Alexander Bias
    Tue, Dec 23, 2014, 6:43 PM
    Georg,

    thanks for your feedback about the compatibility to Moodle 2.8.
    I will update the plugin repository version information as soon as we have run our own 2.8 tests in january based on our local release cycle.

    Thanks for your bug report about the custom menu, too.
    I have to admit that we don't check the custom menu as we don't use it here locally.

    Could you please:
    a) tell me if the problem appears only in your local Moodle theme or also in the Moodle core "more" theme.
    b) tell me if you are using filter_tabs with the bootstrap tabs setting set on or off
    c) create a bug report with these details on https://github.com/moodleuulm/moodle-filter_tabs/issues so that we can keep track of the problem?

    Thanks,
    Alex
  • Picture of Georg Wiesinger
    Sat, Dec 27, 2014, 9:15 PM
    Hi Alex!

    a) The problem appears in the Moodle core "more" theme, which is my standard theme and I have no other themes installed yet.
    b) I'm using filter_tabs with bootstrap tabs setting on! Without using bootstrap tabs (using standard filter YUI tabs) there is no problem with the custom menu.
    c) I created a custom report with all information on Github.

    Thanks a lot for your work!

    Kind regards,
    Georg
  • Picture of Usman Asar
    Sun, Jan 25, 2015, 2:39 AM
    Alex, can this be used with your static_pages plug-in as well? (means showing tabs on static pages) though didn't worked for me.
  • Picture of Alexander Bias
    Sun, Jan 25, 2015, 3:25 AM
    Hi Usman,

    you asked me the same question in november and I answered you. The situation hasn't changed since then...

    Alex
  • Picture of Usman Asar
    Sun, Jan 25, 2015, 3:29 PM
    My apologies, I must have missed your reply for me to ask again. Anyway, still both plug-in works a treat!
Please login to post comments