Foundation

Themes ::: theme_foundation
Maintained by Gareth J BarnardGareth J Barnard
This is a Bootstrap theme that aims to be minimalistic and modern in look.
Latest release:
940 sites
924 downloads
37 fans
Current versions available: 8

Introduction

This is a Bootstrap version 4 theme that aims to be different and yet at the same time have some traditions of the past.  It does not extend the Boost theme but rather 'pull' the files it needs from it because that is where they are currently stored.  No navigation drawer or docking has been implemented.  However, you can collapse and expand blocks and put them in a 'drawer' region.

There is added support for 'partial' templates which can then be imported into a main template with the syntax '> partial/mypartial'.  Currently the theme does not work when placed within a $CFG->themedir folder.


Features

  • Bootstrap V4 CSS with core Moodle CSS..
  • Child theme capable - in 'beta'.
  • Custom SCSS.
  • Custom Swatches from Bootswatch.com and licensed under the MIT License (MIT).
  • Partial template support.
  • Theme modules - in 'beta', see the swatch_modules.php file.


Moodle 3.5 version discontinued

Because of a recently found issue with User Tours not working, which is fixed in the Moodle 3.6 version (3.6.0.2) but not the 3.5, I have decided to stop development on the Moodle 3.5 version of the theme.  The fix has implications for lots of other functionality.  This is down to docs.moodle.org/dev/Miscellaneous_callbacks#override_webservice_execution  being required.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6

Contributors

Gareth J Barnard
Gareth J Barnard (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Wed, Jul 8, 2020, 10:40 PM
    Hi, I installed the Foundation theme for Moodle ver.3.8.3 + but there are a couple of errors.
    The logo at the top left has the wrong link to the site (missing "/" ending) and, still in nav-bar, there are code writings.
    Thanks for your work!
    c.b.
  • Gareth J Barnard
    Wed, Jul 8, 2020, 11:37 PM
    Dear Claudio,

    Interesting. With the link there does not need to be a trailing forward slash. With the navbar, please post a screen shot of the issue on https://moodle.org/mod/forum/view.php?id=46.

    Thanks,

    Gareth
  • Wed, Jul 8, 2020, 11:48 PM
    With the link there does IS NEED to be a trailing forward slash: for security reasons the link without slash is not accepted.
  • Gareth J Barnard
    Thu, Jul 9, 2020, 12:09 AM
    Ok, just searched and cannot find any security reason why the forward slash is needed. Please supply evidence.
  • Thu, Oct 8, 2020, 5:33 AM
    I have a problem with the last version of theme (3.9.1.0).
    When I click Login user (top right), it opens https://www.myserver.com/moodle/login/index.php and it shows the error: "Call to undefined function course_get_format() "
  • Gareth J Barnard
    Thu, Oct 8, 2020, 6:22 AM
    Not a problem with the theme as it does not call course_get_format() - must be an issue with your installation.
  • Mon, Dec 21, 2020, 1:46 AM
    great theme with h5p custom css. One issue though...why is the h5p editor not using the full width of the screen? And when you press the full-screen button, the "exit full screen" button is invisible....
  • Gareth J Barnard
    Mon, Dec 21, 2020, 1:51 AM
    Dear Thomas,

    I can't visualise the issue, please post a screen shot on https://moodle.org/mod/forum/view.php?id=46.

    G
  • Sat, May 1, 2021, 11:57 PM
    Hi, any plan for updating the theme to 3.10, using the new H5P integration instead of HVP plugin?
  • Gareth J Barnard
    Sun, May 2, 2021, 12:24 AM
    Dear Christophe,

    ??? I already have in version 3.10.1.1 for Moodle 3.10, released on 15th March 2021! Current version is 3.10.1.2, released on the 28th April 2021.

    Gareth
  • Thu, Sep 30, 2021, 6:09 PM
    Hi, we have a Foundation theme installed on our Moodle 3.11.1. We have all courses set to grid layout. We use two columns: right and central. Would like to add a block above the Summary section in our courses. We noticed that the regions might be Poster, Marketing and Drawer, but we do not know, where they are or how to enable them. We could not found any documentation about this, except some code on github.

    Thanks for help.

    Mitja
  • Gareth J Barnard
    Thu, Sep 30, 2021, 10:37 PM
    Dear Mitja,

    Foundation 'open source' and provided under the GPLv3 license 'AS IS'. Therefore with an understanding PHP and Moodle Themes, then its possible to understand the code and solve your specific problem. Where I've felt I've needed to, I have placed comments in the code that explain things.

    Kind regards,

    Gareth
  • Fri, Oct 1, 2021, 7:09 PM
    Dear Gareth, thank you for your reply.
  • Thu, Aug 25, 2022, 6:56 AM
    Dear Gareth, How can I make the displayed courses not appear vertically but horizontally?
  • Gareth J Barnard
    Thu, Aug 25, 2022, 9:57 PM
    Dear Mevi,

    Its complicated, you can modify the code yourself or if you want me to do so or describe in detail how to then I'll need paying for my time / skills please.

    Kind regards,

    Gareth
1 2
Please login to post comments