Activities: Bootstrap Elements

mod_bootstrapelements
Maintained by Picture of Mike Grant Mike Grant, Picture of Jez H Jez H
Bootstrap Elements gives you the ability to add modal and toggles to your courses, helping to improve the layout of courses.
484 sites
195 downloads
44 fans

Bootstrap Elements gives you the ability to add modal and toggles to your courses, helping to improve the layout of courses. It is in essence an improved "label" resource type with an opton allowing you to set content to display as a:

  • Modal box (popup box)
  • Toggle (expandable / drop-down content
  • Enhanced Label (with title + icon)
  • BlockQuote (same as above, blockquote with title / icon)

Font Awesome icons are selected through a searchable UI element smile

This will help teachers add more dynamic, interactive content within courses whilst consuming less space on the page:


Please note: This plugin will only work with themes that are based on Bootstrap and have support for for the Bootstrap elements referenced by this plugin.

Themes known to work with this plugin are:

We will expand this list to include other themes as we confirm their compatibility.

Future Plans:

  • Add color options
  • Look at other elements such as callouts and possibly Tabs / Accordion

If you have any other suggestions for improvement please let us know!

Sets

This plugin is part of set BCU UI.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3

Contributors

Picture of Mike Grant
Mike Grant (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Roger Domínguez Argemí
    Mon, 31 Aug 2015, 7:40 PM
    Hi Mike, Jez,

    Congrats for the plugin! The plugin does not work in the Clean theme although it is built on Bootstrap... It would be very useful! Any planned action to do that? Thanks!
  • Picture of Dan Jeffries
    Fri, 11 Sep 2015, 10:15 PM
    Hi!

    Loving this plugin - it's a huge help.

    One small query. I am trying to use the Label element of the plugin with Activity Completion. I duplicated the label a few times, and it seems that one of the elements has the same name. When trying to choose a label in Activity Completion, it's really hard to distinguish them because they all have a similar name (bootstrapelements7, bootstrapelements8 etc).

    So I guess my questions are:

    1. Can errors occur when duplicating?
    2. What happens if two elements have the same name?
    3. Will it be possible to rename the elements?

    Thanks!

    Dan
  • Picture of Christine Theodoridou
    Fri, 9 Oct 2015, 11:15 PM
    Hello guys!
    The plugin seems great but in my Moodle 2.9 I cannot make it work. I have tested with Bootstrap theme. Does it support this Moodle version?

    Thank you,
    Christine
  • Picture of Elizabeth Dalton
    Thu, 22 Oct 2015, 1:35 AM
    I have Bootstrap Elements working on Moodle 2.9 with Flexibase (a Bootstrap theme). However, the toggle doesn't work. (Toggle title shows, but cannot expand.)

    Apart from that, I'd appreciate a CSS style hook so I can affect which heading is used by the plugin to display the title. Right now it seems to use an undifferentiated h4 (overridden with a specific font size by Toggle and Blockquote) which is small for my purposes. I realize I can redefine h4 and probably my course developers aren't using it much, but I'd rather have something specific to BE, or the ability to select a heading level within BE.
  • Picture of Elizabeth Dalton
    Thu, 22 Oct 2015, 1:45 AM
    I seem to have figured out my theming question: I can do this:
    .bootstrapelements h4 {
    font-size: 24px;
    }

    I still can't get Toogle working in 2.9 in Flexibase theme, however.
  • Picture of Elizabeth Dalton
    Thu, 22 Oct 2015, 7:35 PM
    Correction: toggle started working in Flexibase. Possibly it was a caching issue.
  • Ricardo Caiado
    Fri, 15 Jan 2016, 11:26 PM
    Hi,

    Does Bootstrap Elements works with Pioneer Theme (https://moodle.org/plugins/theme_pioneer)

    Ricardo
  • Picture of Jez H
    Sat, 16 Jan 2016, 6:18 AM
    Hi Ricardo,

    I dont know, you would have to install and test it. If it does not it should not be hard to get it working assuming Pioneer uses bootstrap and Chris was prepared to help get the two working together.
  • Picture of Brandon Jimenez
    Tue, 19 Jan 2016, 9:48 PM
    Hi, I'm currently running a Moodle 2.9.3+ site and planning to update it to Moodle 3 or 3.1 (sometime in the future), and i would love to have your plugin installed. I do, however, have a question: have you tested in a Moodle 3+ environment?

    Thanks
  • Picture of Robin Leung
    Wed, 10 Feb 2016, 3:42 AM
    Hello,

    I used this plugin for a short while on 2.8 with a customized version of Evolve-D theme (https://moodle.org/plugins/theme_evolved).
    And then it stopped working. I'm wondering when will this feature be out, "Auto detect theme compatability and fall back on non supported themes (so multiple themes in the same site can be supported)"?

    Thanks.
  • Picture of Elizabeth Dalton
    Thu, 11 Feb 2016, 12:01 AM
    We have it working on a test system on 2.9, but I don't see official support for 2.9 in the release notes. Our hosting vendor needs to see official support to review the plugin for installation on our system. Can the release notes be updated to include support for Moodle 2.9?
  • Picture of Francis Feytout
    Mon, 22 Feb 2016, 9:12 PM
    Hi,
    I'm testing this plugin on a 2.7 and the resource hang out at creation with the the following error : Error output, so disabling automatic redirect. It goes through with the manual continue though.

    And the relevant trace :
    "
    Did you remember to call setType() for 'bootstrapicon'? Defaulting to PARAM_RAW cleaning.

    line 1316 of /lib/formslib.php: call to debugging()
    line 288 of /lib/formslib.php: call to moodleform->detectMissingSetType()
    line 206 of /lib/formslib.php: call to moodleform->_process_submission()
    line 86 of /course/moodleform_mod.php: call to moodleform->moodleform()
    line 254 of /course/modedit.php: call to moodleform_mod->moodleform_mod()
    "
    It looks good, but I'm concerned to push it on my production server with this though.
    Thanks
  • Gareth J Barnard
    Mon, 19 Sep 2016, 8:13 PM
    Gents,

    Sorry to be blunt, but when implementing something, please read the specification: http://getbootstrap.com/2.3.2/javascript.html#modals - you've omitted the 'hide' class and hence a Modal prevents links etc. from not working because its not hidden: https://moodle.org/mod/forum/discuss.php?d=339785.

    An annoyed, Gareth.
  • Ricardo Caiado
    Wed, 7 Dec 2016, 8:09 PM
    Any upgrade to Moodle 3.2?
1 2 3
Please login to post comments