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:
896 sites
610 downloads
40 fans
Current versions available: 12

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

Εμφάνιση σχολίων
  • Mitja Decman
    Παρ, 1 Οκτ 2021, 7:09 PM
    Dear Gareth, thank you for your reply.
  • Mevi Pron
    Πέμ, 25 Αυγ 2022, 6:56 AM
    Dear Gareth, How can I make the displayed courses not appear vertically but horizontally?
  • Gareth J Barnard
    Πέμ, 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
  • Rok P
    Πέμ, 3 Αυγ 2023, 5:33 PM
    Hello,
    I downloaded the latest version for Moodle 4.1 (401.1.1 - Updated on 15.6.2023), but the file I get is named "theme_foundation_moodle41_2022112602.zip".
    If I open version.php inside plugin it says
    $plugin->release = '401.1.1';
    $plugin->version = 2022112602;
    $plugin->requires = 2022112800.00; // 4.1 (Build: 20221128).

    So confusing. Can you please check. Something does not seem right.

    Kind Regards,
    Rok
  • Gareth J Barnard
    Πέμ, 3 Αυγ 2023, 8:27 PM
    Dear Rok,

    Please read the installation instructions in the contained Readme.md file.

    Kind regards,

    Gareth
  • Rok P
    Παρ, 4 Αυγ 2023, 3:01 AM
    Hello,

    I think the explanation is here: https://docs.moodle.org/dev/version.php
    "the date part YYYYMMDD should be frozen at the branch forking date and the XX is used for incrementing the value on the given stable branch"
    Thanks,
    Rok
  • Gareth J Barnard
    Παρ, 4 Αυγ 2023, 4:54 AM
    Dear Rok,

    I'm confused as I thought you couldn't work out how to install the theme? As the version.php file is correct.

    Kind regards,

    Gareth
  • Rok P
    Πέμ, 21 Σεπ 2023, 4:32 AM
    Hello,

    The theme works. The versioning convention contains Moodle initial release date, which was confusing. All is good.

    Now I have an issue with (at least) one of the letters in our alphabet. The word "username" in our language contains letter 'š'. On login page, there is a placeholder for username, but instead of actual letter ('š') it is displayed it as its unicode representation: '\u0161'. If I swtich to defaut theme "Boost", the letter in placeholder is displayed correctly ('š'). I have no idea why this happens. Also, I have noticed that this happens only on login page. Haven't tested the password placeholder as it does not contain any non-ascii letters.

    Any help would be much appreciated.

    Kind Regards,
    Rok
  • Gareth J Barnard
    Πέμ, 21 Σεπ 2023, 5:15 AM
    Dear Rok,

    Please post more details, like versions of the theme and Moodle, along with a screen shot and the name of the your language so that I can attempt a replication on https://moodle.org/mod/forum/view.php?id=46. And, as stated previously, the versioning is correct.

    G
  • Rok P
    Δευ, 25 Σεπ 2023, 7:01 PM
    Hello,
    Anyone interested in the unicode issue, Gareth confirmed its a bug and prepared a fix: https://github.com/gjb2048/moodle-theme_foundation/commit/8d3d005c3ebccdb14376c98c79524468a66d17e6
    Fix will be included in next 4.1 release.
    BR, Rok
  • social boh
    Δευ, 18 Δεκ 2023, 7:21 PM
    Hello,
    Moodle 4.3.1 and Foundation theme 403.1.2. Error is: class constructors must be invoked with 'new'
    Regards
  • Gareth J Barnard
    Δευ, 18 Δεκ 2023, 7:51 PM
    Dear Social Boh,

    No idea bar perhaps it could be a JS error. However, I've not spotted it. Please post full details on the themes forum -> https://moodle.org/mod/forum/view.php?id=46 - screenshots essential.

    G
  • Nikhil Nikhil
    Τετ, 23 Οκτ 2024, 1:20 AM
    Hello Gareth,

    I wanted to find out when this theme will be updated for Moodle 4.5. The current version for 4.4 has some problems here and there and we are planning to upgrade our production site to Moodle 4.5. Thanks
  • Gareth J Barnard
    Τετ, 23 Οκτ 2024, 1:36 AM
    Dear Nikhil,

    Soon and what problems please?

    Gareth
  • Nikhil Nikhil
    Τετ, 23 Οκτ 2024, 3:34 AM
    Hi Gareth,

    Thanks and the about the problems - instead of icons for various elements like a text editor or File upload area I see text saying \F066 and there is an error saying Fallback CSS sheet in use. The theme version I have is 404.1.0 and my Moodle is 4.5

    Thanks
1 2 3
Please login to post comments