Custom Theme not appearing to select

Custom Theme not appearing to select

by Josh Joubert -
Number of replies: 3
Hi to all

Layman here.

After closely following this guide,
https://docs.moodle.org/dev/Creating_a_theme_based_on_boost

I managed to create a child theme of Boost. I followed the instructions meticulously.

It was successfully installed, and does appear in the plugins list as a theme, and as a dependant of the Boost theme.

It doesn't, however, appear anywhere for me to select it in the theme selector. It doesn't appear in any of the four lists.

My Moodle Version:
Moodle 4.0.4+ (Build: 20221108)

Any assistance would be greatly appreciated.
Average of ratings: -
In reply to Josh Joubert

Re: Custom Theme not appearing to select

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
Dear Josh,

I can't see anything wrong in the version and config files. Please post / link to the whole theme as need to look deeper.

Gareth
Average of ratings:Useful (1)
In reply to Gareth J Barnard

Re: Custom Theme not appearing to select

by Josh Joubert -
Thank you kindly for the reply and assistance!

Here is a google drive link to a zip of the theme.
https://drive.google.com/file/d/1GK8Ol-c2y3rNREohiKlNDu4kE98ij7iw/view?usp=share_link
In reply to Josh Joubert

Re: Custom Theme not appearing to select

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
Dear Josh,

The theme name in the config.php needs to be exactly the same as the folder name, i.e. that's case sensitive so, change:

$THEME->name = 'ProlificMaths';

to

$THEME->name = 'prolificmaths';

as the comment does say 'The first setting we need is the name of the theme. This should be the last part of the component name, and the same as the directory name for our theme.'

Gareth
Average of ratings:Useful (1)