Admin presets

Blocks ::: block_admin_presets
Maintained by PimenkoClément Prudhomme, Jordan KESRAOUI, Sylvain Revenu
Allow administrators to export the site settings to .xml presets, import and load other sites presets.
Latest release:
1486 sites
423 downloads
69 fans

Latest build status


With Admin Preset, you can easily export your Moodle site settings and configuration to other Moodle. This blocs is maintened by Pimenko. 

Features:

  • Export system settings to XML preset files
  • Import presets files
  • Preset preview and partial load
  • Allows rollback of applied changes
  • Option to autoexclude the sensitive data when exporting settings (editable sensitive settings list)
  • Third parties plugins supported (as long as they use the standard admin_setting classes)

Note that:

  • A few admin settings expect a file to be selected from Moodle file manager. These settings as not exported.
  • The list of enabled/disabled plugins is not exported 


Last release is compatible with Moodle 3.11 and fix an issue

*All settings selected are now well exported.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Pimenko
Clément Prudhomme (Lead maintainer)
Jordan KESRAOUI: Maintainer, developer
Sylvain Revenu: Maintainer, developer
David Monllaó: Original author
Minh Hanh NGUYEN: Moodle expert
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Wed, Aug 23, 2017, 1:20 AM
    Hi Matt, I was having a difficult time reaching the home page you mentioned until I noticed a previous post here saying to remove the 'my/'. Using http://XYZ123/moodle/?redirect=0 did get me to a home page I had never seen before. Unfortunately 'admin presets' is not listed in the add a block menu. I'm still very interested in how this works, but I'm starting to think it is not compatible with 3.3.1. Any other advice is appreciated.
  • Pimenko
    Tue, Sep 5, 2017, 3:21 PM
    Hi Dan,

    I confirm you Admin Preset works as you describe. If you can't add the block on http://XYZ123/moodle/?redirect=0, look on :
    "Site Administration" / "blocks" and check if you see "Admin Presets" in the list of the blocks.

    We just update the "block" for Moodle 3.3 (fix changes pix_url() to image_url())
    So Admin presets works fine with no bug in Moodle 3.3

    Clément
  • Fri, Nov 17, 2017, 6:50 PM
    Hi,
    i am quite new in Moodle. I need to install a new theme (RemiUi of Edwiser), I wanted to keep the settings for the new theme. I went ahead and installed "Admin Presets" following your steps. Completed the installation in Moodle. I was able to see "add blocks / Admin Presets" on home -> www.mysite/moodle. I clicked on it (admin presets) and the page went completely white. Everything still works on Dashboard and courses, but when I click on home, this white screen shows up again. Is this normal? Can somebody please tell me how to save all the presets and activate does in the new theme. Thank you
  • Pimenko
    Thu, Nov 23, 2017, 7:20 PM
    Hi,

    I don't know RemiUi theme. This block works well with all themes. Perhaps there is a bug with RemiUi or an other plugins.
    Can you try to active debug mode and check I you see error ?

    You can active debug mode here : Site administration / Development / Debugging and select "developer" in debug messages
  • Sun, Apr 22, 2018, 7:08 AM
    This forum is a lifesaver! I could not find the block as my home page is simple. Thank you CP!!
  • Wed, Apr 10, 2019, 10:37 PM
    Clément Prudhomme, thanks for publishing this plugin.
    It took me a bit of time to find out how I can activate this plugin and to find the comment in this forum.

    Why is it a block? Why is it limited to Frontpage? Would it be possible to let this plugin add a menu to the admin section?
  • Fri, Oct 11, 2019, 3:57 AM
    Thank you to everyone who contributed to this plugin. Great idea!

    I am trying to backup my Moodle installation settings (the fastest way I found to move settings from Local env to QA server to Live server) but some settings doesn't get exported.

    What I did:
    1 - Install Generico
    2 - Install Admin Preset
    3 - Create a preset and select only the generico plugin
    4 - Download all the yummy XML
    5 - Change a generico template
    6 - Download the XML preset again
    7 - Compare both version
    8 - See that the new Generico settings have not been exported

    So are the presets re-generated everytime you download them? or presets are more like a snapshot of the current settings and do not change in time? If it is the later, does that mean you have to re-check all the boxes every time you want to export a specific set of settings?

    Thank you for your help
  • Mon, Oct 5, 2020, 9:22 PM
    Bonjour,
    j'ai installé le plugin admin_presets (Moodle version 3.8, thème Adaptable). le plugin apparait comme installé (Administration>Plugins>Blocs>Présélections), mais je ne sais pas comment y accéder (je suis connectée en tant qu'administrateur).
    Quand je souhaite ajouter un bloc (page d'accueil ou tableau de bord) aucun bloc de ce type n'apparait.
    Quelle manipulation dois-je faire ?
    Merci pour votre aide
  • C'est moi :-)
    Tue, Oct 27, 2020, 11:09 PM
    Hi,
    Like Bernhard Weichel, i don't really understand why it's a block. It should better be an Admin Tool, automatically added in administration menu (much simpler).
    Being a block, why restrict it to the frontage (and NOT allowing it on the dashboard, or elsewhere) ? At least, you should make it clear where it can be added, because it's counter intuitive and complicate to add it.

    Would it be possible to add a functionnality (like "Simulation") which would automatically show settings that would be changed if applying settings from the preset ? That would allow simpler review of (future) changes before applying them.

    Thanks if you can improve these parts.
  • Pimenko
    Fri, Nov 20, 2020, 7:50 PM
    Hello everyone,

    This plugin was initially developed in 2011 with the current logic :
    - addition of an admin preset" block on the home page
    - use of the block links for creations, imports, exports

    It would indeed be simpler to have a link in Moodle's administration but this requires a revision of the plugin that we are not able to provide at the moment.
    We could imagine this block on the dashboard but the gain compared to the home page remains low.

    In short, we would like to improve a lot of things in this plugin but the developments being done on our own funds, we realize them when we have the capacity.

    Best regards.
  • Thu, Feb 18, 2021, 11:53 PM
    I was running a test server on my computer and wanted to use this to export my theme settings to the production server. However, Whenever I try to export anything, I make sure everything in Appearance is checked and I always get the message "No valid settings selected" This happens even if I leave all my admin settings selected. I tried exporting from my local machine and from my production machine and I do not get anywhere with that either.

    I am running Moodle 3.1 on both servers.
  • Pimenko
    Fri, Feb 19, 2021, 9:56 PM
    Hi Ravi, thank your for your message.
    We haven't been using Moodle 3.1 for a long time. There have been quite a few changes. Have you tried this version of the plugin? https://moodle.org/plugins/pluginversion.php?id=12074
  • Thu, Apr 8, 2021, 5:24 PM
    Hi, Thank you for adding a very nice plugin.

    I tried to export theme settings that's shows during exporting but when I try to import it in other instance it doesn't appear! Can you please confirm the plugin support theme settings as well?
  • Pimenko
    Mon, Apr 12, 2021, 7:29 PM
    Hi Azamat,
    I think we have a bug with theme settings import. We will try to look at this more closely with the next update. Thank you for your feedback.
  • Pimenko
    Tue, Jun 1, 2021, 3:34 PM
    Hi Azmat,
    I think the last release of this plugin fix your problem.
    The plugin limited the number of parameters that could be imported, we have corrected this. I let you confirm that everything is ok for you.
    Regards
1 2 3
Please login to post comments