Inherited parent settings not effectiv

Inherited parent settings not effectiv

av Yakup Yildirim -
Antall svar: 0

Hi everyone,

For a project I'm working with Moodle 3.7.6 where I want to create a child theme "mcc" based on moove, which in turn is based on Boost.

Previously, when working on the child theme based on Boost alone, I was able to integrate post- or pre-SCSS files or customize the mustache files by tracking a lot of information from the documentation or communities.
https://github.com/pauln/moodle-theme_decaf_green/wiki/Inheriting-from-Decaf
https://docs.moodle.org/dev/Creating_a_theme_based_on_boost

But inheriting Moove and being Boost's grandson didn't work out for me. I adapted the config.php file by both parents: $THEME->parents = array( 'moove', 'boost'); and the version.php with $plugin->dependencies = ['theme_moove' => 2019043000];. Furthermore I copied all settings from moove and changed the terms "theme_moove" to my "theme_myThemeName".

If I change some settings from the child theme, some of them will not take effect, but if I change them from the parent moove, they will take effect. Also, copying and adjusting mustache files from the parent's templates folder (moove/template) to the child theme's templates folder has no effect.

Last but not least, the pre- & post-SCSS are also ineffective. Since moove also gets the default settings from boost, I tried to get them the same way as usual but additionally  with the scss files from moove like on the screenshot.

Unfortunately I am not able to provide screenshots of the problem as I am not at all sure where to suspect the problem due to a lack of understanding of the Moodle architecture. But I have made my test_environment/theme folder on this git-rep available for those who find it helpful to understand the problem. Child Theme called "mcc" https://github.com/YLightning/test_moodle

Thanks in advance!

Vedlegg config lib screenshot.png
Gjennomsnittlig vurdering: -