Moodle flavours
Maintained by
David Monllaó
Tool to package (into downloadable files) and deploy sets of Moodle plugins, settings, language packs and language customizations
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Cheers,
Jesse
Thx for your help
A big "THANK YOU!" for this amazing plugin--makes it so much easier and saves admins hours and hours to deploy new Moodle instances including admin presets and plugins....(great for sandboxing and upgrading!)....any chance this plugin will be updated for version 3.1 soon?
Thanks again for all your hard work!
Regards,
--Joe
I've pushed some fixes (thanks to Marina Glancy) to make https://moodle.org/plugins/block_admin_presets compatible with Moodle 3.0, 3.1 & 3.2 (currently in development) moodle flavours may have some similar bugs as it is not using admin settings APIs.
The Flavour was successfully created and downloaded.
But on target server -- with EXACTLY the same codebase -- I get:
1. Flavours Deployment - Ingredients previsualization
Step 2 - Ingredients previsualization
Warning : All Adaptable settings will be overwritten (which is what I want!)
2. Hit [Deploy]. Success
3. [Continue to Notifications]
4. Site Admin > Purge all caches
5. No changes saved!
There are no php errors thrown (I have error reporting switched on).
Admin_presets is not a solution -- it does not work with Moodle v3.x.
I'll file an Issue on the Tracker.
Although it should work I would always first try in a testing environment and compare mdl_config table differences. If you are only interested in exporting and importing setting, I would recommend you https://moodle.org/plugins/block_admin_presets, which also exports / imports settings but using Moodle's administrations settings API instead of raw database writes to config table. It is more reliable.
I run Moodle 3.1 with Adaptable theme
I ask on the forum how to save all the settings from the Administration menu: fonts, colors, images, etc. to transfer them to the production site in a second time, and I was guided to your plugin. Do you know if it's works on Moodle 3.1 ? And is there any risk to test it ?
Thanks for reporting the issue Tong and Daniel, https://tracker.moodle.org/browse/MDL-46122 has been pluginlib.php final deprecation, it shouldn't be too hard to update the code to use core_component (lib/classes/component.php) instead. I will try to find time for it, but feel free to send a pull request as my daughter will be born one of these days and I doubt I will have time for it at short term.
Cheers,
David
it would be nice if there are any plans to update it to work with 2.9 or maybe 3.0,
current error is:
PHP Fatal error: require_once(): Failed opening required '/var/www/uc/lib/pluginlib.php' in /var/www/uc/local/flavours/ingredient/flavours_ingredient_plugin.class.php on line 26,
I've found a problem with the new version for Moodle 2.4 which prevents tree items to be selected, it's solved now, sorry for the inconvenience
The commit you commented about was a work in progress for Moodle 2.4, I've updated the download page of the 2.3 version to point to the MOODLE_23_STABLE branch, so if you are using Moodle 2.3 checkout from the MOODLE_23_STABLE instead of master.
I've also released the new version for Moodle 2.4 which solves the flavours deployment problem with the tree which causes HTML warnings to be displayed like plain text.
Thanks for reporting the issue,
David
Many thanks for the report, hopefully during this weekend I'll find time to solve it.
Regards,
David