Activities: Bootstrap Elements

mod_bootstrapelements
Maintained by Picture of Jez H Jez H, Picture of Mike Grant Mike Grant, Picture of Manoj Solanki Manoj Solanki
Bootstrap Elements gives you the ability to add modal and toggles to your courses, helping to improve the layout of courses.
639 sites
404 downloads
60 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 sets BCU UI, Adaptable UI.

Screenshots

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

Contributors

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

Show comments
  • 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?
  • Picture of David Mudrák
    Tue, 9 Jan 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, 24 Jan 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, 11 Mar 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

    See: https://moodle.org/mod/forum/discuss.php?d=367041
  • Picture of Michael Hughes
    Thu, 22 Mar 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, 21 May 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, 14 Jul 2018, 7:15 PM
    Hello,
    Your plugin is not available for Moodle 3.5.1 (errors)
    Thank you
    Daniel
    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, 17 Jul 2018, 3:46 PM
    Hi,

    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.

    Regards,

    M

1 2 3
Please login to post comments