Bootstrap Elements

Activities ::: mod_bootstrapelements
Maintained by Picture of Jez HJez H, Picture of Mike GrantMike Grant, Picture of Manoj SolankiManoj Solanki
Bootstrap Elements gives you the ability to add modal and toggles to your courses, helping to improve the layout of courses.
Latest release:
837 sites
86 fans
Current versions available: 3

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!


This plugin is part of sets BCU UI, Adaptable UI.


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


Picture of Jez H
Jez H (Lead maintainer)
Picture of Manoj Solanki
Manoj Solanki: Maintainer
Please login to view contributors details and/or to contact them

Comments RSS


  • Picture of Elizabeth Dalton
    Thu, Feb 11, 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, Feb 22, 2016, 9:12 PM
    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.
  • Gareth J Barnard
    Mon, Sep 19, 2016, 8:13 PM

    Sorry to be blunt, but when implementing something, please read the specification: - you've omitted the 'hide' class and hence a Modal prevents links etc. from not working because its not hidden:

    An annoyed, Gareth.
  • Ricardo Caiado
    Wed, Dec 7, 2016, 8:09 PM
    Any upgrade to Moodle 3.2?
  • Picture of David Mudrák
    Tue, Jan 9, 2018, 7:46 PM

    Plugin service info: For the record, I just made Jeremy (one of the two current maintainers) the lead maintainer of this plugin. I tried to contact Mike (the previous lead maintainer) via email and personal message on 15 December 2017 to get his explicit agreement. Mike has not replied. His last access to this site was 3 months ago. Given that Jeremy has already been a maintainer and he is the author of the recent update, I believe that changing the lead maintainer make sense and is in a public interest. In case Mike re-appears, we can communicate further with how to deal with the ownership of the plugin. Thanks.

  • Picture of Dan Jeffries
    Wed, Jan 24, 2018, 9:57 PM
    I love this plugin and it's great to see it's compatible with recent versions of Moodle.

    Does anyone know if this will become compatible with Moodle Mobile? At present the mobile page just shows 'bootstrapelements33' or a different number. I'm guessing this is a mobile/desktop app issue rather than the plugin.

    Any thoughts? Thanks!
  • Gareth J Barnard
    Sun, Mar 11, 2018, 5:47 AM
    Bug in 1.2 on M3.4 when attempting to get the popup to show on the icon field:

    fontawesome-iconpicker.min.js:1 Uncaught ReferenceError: jQuery is not defined
    at fontawesome-iconpicker.min.js:1
    at fontawesome-iconpicker.min.js:1
    modedit.php?sr=0&add=bootstrapelements&section=3&course=7&theme=boost:370 Uncaught ReferenceError: $ is not defined
    at modedit.php?sr=0&add=bootstrapelements&section=3&course=7&theme=boost:370

  • Picture of Michael Hughes
    Thu, Mar 22, 2018, 11:39 PM
    We second Dan's request for Moodle Mobile App support. On our mobile these activities are shown using green jigsaw icon and when clicked show message "Uh oh! Your organisation installed a plugin that is not yet supported. Contact the site administrator and tell them you want to use this activity with the Moodle Mobile app."
  • Picture of Andreas Giesen
    Mon, May 21, 2018, 11:57 PM
    Hi! Please consider to optionally not load font awesome from CDN. For one in newer versions of Moodle FA is already installed anyway, additionally for the GDPR less external servers are better at the moment. If you worry about newer versions of FA shipped with Moodle breaking your code, maybe ship FA with the plugin and call it from there... For now I edited the style.css in your plugin-dir and without the extra FA the bootstrapelements work fine in Moodle 3.5 smile
  • Daniel
    Sat, Jul 14, 2018, 7:15 PM
    Your plugin is not available for Moodle 3.5.1 (errors)
    Thank you
    Codes errors:
    XML database file errors found
    ×Debug info: Errors found in XMLDB file: PATH attribute does not match file directory: mod/bootstrapelements/db
    Error code: ddlxmlfileerror
    ×Stack trace:
    line 352 of /lib/ddl/database_manager.php: ddl_exception thrown
    line 368 of /lib/ddl/database_manager.php: call to database_manager->load_xmldb_file()
    line 770 of /lib/upgradelib.php: call to database_manager->install_from_xmldb_file()
    line 512 of /lib/upgradelib.php: call to upgrade_plugins_modules()
    line 1857 of /lib/upgradelib.php: call to upgrade_plugins()
    line 694 of /admin/index.php: call to upgrade_noncore()
  • Picture of Manoj Solanki
    Tue, Jul 17, 2018, 3:46 PM

    We'll endeavour to release a 3.5 version soon as we're able to and review the feature requests for Moodle Mobile support and optional font awesome support.



  • Daniel
    Mon, Jul 23, 2018, 3:51 PM
    Thank you !
    Your plugin is very useful, especially because it allows you to produce pop-up labels with buttons with symbols. That is progress. Looking forward to Moodle 3.5 release.
  • Picture of Roberto Hebert de Souza Vinha
    Tue, Dec 4, 2018, 1:46 AM
    When will it be available for version 3.5?
  • Picture of Jorge Schulz
    Fri, Feb 15, 2019, 5:43 AM
    The last update caused me problems with the Boost Campus theme (I use Moodle 3.6.2)
  • Picture of Mufid Zulkarnaen
    Fri, Feb 15, 2019, 8:22 PM
    It looks good, but I'm concerned to push it on my production server with this though
Please login to post comments