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
384 sites
275 downloads
17 fans

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: Initial Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Alexander Bias
    Mon, 10 Nov 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, 25 Nov 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, 26 Nov 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, 18 Dec 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, 23 Dec 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, 27 Dec 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, 25 Jan 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, 25 Jan 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, 25 Jan 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!
  • Picture of Michael Veit
    Fri, 7 Aug 2015, 5:19 PM
    Hi Alexander,

    when will the TABS version appear for moodle 2.9 or does the current version also work on Moodle 2.9?

    Kind regards
    Michael
  • Picture of Alexander Bias
    Fri, 7 Aug 2015, 7:06 PM
    Hi Michael,

    there will be a 2.9 version within the next 1-2 months, but we didn't start working on it due to our internal release cycle.

    I didn't receive any problem reports about running the 2.8 version on 2.9 up to now, so please give it a try and let me know if you encounter problems.

    Thanks,
    Alex
  • Picture of Michael Veit
    Thu, 20 Aug 2015, 4:48 AM
    Hi Alexander,

    I installed the filter "TABS" in the moodle version 2.9. It works great.

    Kind regards,
    Michael
  • on the Great Wall
    Sun, 20 Nov 2016, 6:02 PM
    Just got this working, thank you..
    for others that come across it, I have documented a little on how I got it going..
    https://moodle.org/mod/forum/discuss.php?d=336971#p1383815
  • Ricardo Caiado
    Wed, 7 Dec 2016, 8:40 PM
    Any upgrade to Moodle 3.2?
  • Picture of Alexander Bias
    Wed, 7 Dec 2016, 9:54 PM
    Hi Ricardo,

    as usual, there will be a 3.2 version within 1-2 months due to our internal release cycle.
    And, as usual, we expect the 3.1 version still to work on 3.2. So please give it a try and let me know if you encounter any problems.

    Thanks,
    Alex
1 2
Please login to post comments