Hi all,
A bit of a dilemma! Ok, what if you have a child theme of 'bootstrapbase' that has its CSS generated by LESS using the PHP Less compiler (https://docs.moodle.org/dev/Themes_overview#Compiling_LESS_on_the_fly) but it's installed in the folder set by $CFG->themedir? Then the compilation fails because the relative folder as illustrated here: https://docs.moodle.org/dev/Themes_overview#Inheriting_from_a_parent no longer works. So when a 'Purge all caches' or a 'theme cache' reset event because of a setting change then the error happens. Would it be possible to inject the location of 'bootstrapbase' programatically with $CFG->dirroot etc. using '$THEME->extralesscallback' as stated here: https://docs.moodle.org/dev/Themes_overview#Programmatically_injecting_LESS ?
Thoughts?
Cheers,
Gareth