Blocks: Admin presets

Maintained by Picture of David Monllaó David Monllaó
Allow administrators to export the site settings to .xml presets, import and load other sites presets.
238 sites
9 fans

Latest build status


  • 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 



This plugin is part of set Seeking new maintainer.


Screenshot #0


Picture of David Monllaó
David Monllaó (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of David Monllaó
    Wed, 29 May 2013, 9:55 PM
    Hi Reto,

    Yes, it is planned, there are only a few required changes and the migration should be quick. In the meanwhile you can try (not in production) the latest available version, maybe you will need to hack version.php a bit. All feedback you cxan provide will speed up the migration process. Thanks
  • Picture of Daniel Lombardo
    Sat, 7 Sep 2013, 6:08 PM
    I am just getting a spinning loader under where it says Admin settings. Moodle 2.5
  • Picture of David Monllaó
    Mon, 9 Sep 2013, 10:40 AM
    Hi Daniel,

    Sorry, but I'm not sure I can locate the problem with the provided info. Do you mean in the administration block in a 2.5 site with block_admin_presets installed? Below the header in any of the admin_presets actions? In
  • Picture of Randal Johnston
    Thu, 12 Sep 2013, 1:49 AM
    I am seeing the same problem as Daniel. I am using Moodle 2.5. I go to the Admin Presets block and choose Export Settings. It loads the Export Settings screen and under the Admin settins section at the bottom, it only shows a spinning loader. Any suggestions?
  • Picture of David Monllaó
    Thu, 12 Sep 2013, 8:52 PM
    Hi Randal,

    Thanks for the info. I cloned the last version from the repository and it worked without any problem. For what I have seen this last version uploaded here is outdated. I have just uploaded a new version from the last repository code (removing a couple of debugging messages in the meanwhile) so it should work ok.
  • Picture of Nick Phillips
    Thu, 10 Jul 2014, 10:07 AM
    Does this work with 2.6/2.7?
  • Picture of David Monllaó
    Thu, 10 Jul 2014, 11:22 AM
    Hi Nick,

    Sorry, it's been a long time since I pushed a change to this repo, according to what I see the last version was released for Moodle 2.5, I don't think that the admin settings classes changed significantly, but you would need to check it, in a couple of weeks I will have some time to update my contributed plugins.
  • Picture of Alí Quiroz Bruno
    Thu, 11 Feb 2016, 7:47 AM
    Estimado!! Como ejecuto esta extensión? lo tengo instalado en la version 2.7 de Moodle y no encuentro la manera de utilizarlo.
  • Picture of David Monllaó
    Thu, 11 Feb 2016, 9:09 AM
    Hi Alí,

    This is a block, you need to add it to a page, you could add it to your frontpage, more info in

    Es un plugin de tipo bloque, debes anadirlo a una de tus paginas, probablemente lo mas facil sea agregarlo al indice principal, mas info en
  • Picture of Matt Gleeson
    Mon, 29 Feb 2016, 9:49 AM
    Hi David, once installed (2.9.4) the block does not appear in the add-block list for any page that I can see so far
  • Picture of David Monllaó
    Mon, 29 Feb 2016, 10:35 AM
    Hi Matt,

    If it is correctly installed you should be able to add it to the frontpage ( same than 'Main menu' block.
  • Picture of Amanda Doughty
    Tue, 26 Apr 2016, 6:04 PM
    Does this work with 3.0?
  • Picture of David Monllaó
    Wed, 27 Apr 2016, 8:55 AM
    I haven't tried, you could try in a dev/test environment.
  • Picture of Joseph Liaw
    Tue, 8 Nov 2016, 5:10 AM
    Hi David:
    Thank you for your wonderful admin plugin....I was wondering, will this also copy the settings of plugins / install plugins like your amazing Flavours plugin? Excited for both to be updated to 3.1....keep up the great work and this great tool to help admins deploy and expand Moodle!
  • Picture of David Monllaó
    Wed, 9 Nov 2016, 10:31 PM
    Hi Joseph, thanks for your kind words. Yes, it does copy the settings of your installed plugins, actually this plugin handles settings export/import much better than moodle flavours
1 2
Please login to post comments