Talk:Creating a theme based on boost
Note on loading presets This section of code in settings.php (I've slightly modified it) does not seem to load preset files from a folder in the theme root called preset and insert them into the drop-down list.
Damyon: No - this code loads the preset files from a Moodle filearea named 'preset' - which is attached to the admin setting where you can upload more presets. If you want to load them from the files system you will need to do something closer to what the plain and default presets are doing.
Richard: OK, so hard-code them as for Boost. Otherwise you would create a setting for uploading and saving presets in the theme file area that duplicates pretty much what is already being done with the Moodle filearea. Got it, I think.
I'll take away all my junk then... (still in the history if anyone wants it).
09:16, 24 January 2017 (AWST)
While going through this tutorial I got a lot of error messages about missing strings. I needed to either turn off language string cache or purge the cache regularly. Maybe this is tripping others also, and should be mentioned? Regards, Samuli Karevaara 2 (talk)