Blocks: Admin presets

Maintained by PimenkoClément Prudhomme, Picture of Jordan KESRAOUIJordan KESRAOUI, Picture of Sylvain RevenuSylvain Revenu
Allow administrators to export the site settings to .xml presets, import and load other sites presets.
1229 sites
63 fans
Current versions available: 11

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. 


  • 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 


Screenshot #0
Screenshot #1
Screenshot #2


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

Comments RSS


  • Picture of David Monllaó
    Fri, Dec 23, 2016, 6:25 PM
    Thanks to Clément Prudhomme for adopting the plugin.
  • Picture of Jessica Gramp
    Wed, Mar 29, 2017, 9:03 PM
    I am on the Moodle my home page (not the dashboard) and I can't see an 'admin presets' block in the Add blocks drop down menu either. I have added /my/?redirect=0 to the end of my URL to no avail. Has anyone got this working on Moodle 3.1?

  • Pimenko
    Fri, Mar 31, 2017, 10:21 PM
    Hi Jessica,

    I'm not sure you are on the good page. This plugin work with Moodle 3.1.
    Can you try this to access to the homepage of the webiste : (without "/my"). After try again to look the list of the block.
  • Picture of Mark Berthelemy
    Wed, May 10, 2017, 8:53 AM
    Hi Clément,
    Does this plugin work on 3.2?
  • Pimenko
    Tue, May 16, 2017, 10:00 PM
    Hi Mark,

    Yes, it works. We used with some Moodle 3.2 sites and it's ok.

  • Picture of Dan Bell
    Wed, Jul 19, 2017, 10:30 PM
    I installed on 3.3.1 with the essentials theme. I need to get the essentials theme settings and some scorm settings to a new moodle instance. The theme is referenced in Site administration>Plugins>Blocks>Admin presets, and it appears I can make changes to the settings, but it does not appear in the Add blocks menu. So it appears to be installed but unusable. Any advice?
  • Picture of Matt Gleeson
    Fri, Jul 21, 2017, 1:53 AM
    Hi Dan, are you trying to add from the Add Blocks menu while on the frontpage? The frontpage Add Blocks menu is the only one it will appear in - if you navigate to (with the ?redirect=0 bit on the end after the /) it should take you to the frontpage where you can turn on editing if you don't already have it on and with the Add Block menu now available you should also there find the Admin Presets block listed.
  • Picture of Dan Bell
    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

  • Picture of mario max
    Fri, Nov 17, 2017, 6:50 PM
    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

    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
  • Picture of William Bergman
    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!!
  • Picture of Bernhard Weichel
    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?
  • Picture of Nicolas Ndalpe
    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
  • Picture of Marion Jaeger-Amieux
    Mon, Oct 5, 2020, 9:22 PM
    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
Please login to post comments