Moodle Plugins directory: Foundation | Moodle.org

Foundation
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.
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
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
Please read the installation instructions in the contained Readme.md file.
Kind regards,
Gareth
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
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
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
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
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
Moodle 4.3.1 and Foundation theme 403.1.2. Error is: class constructors must be invoked with 'new'
Regards
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
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
Soon and what problems please?
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