Blocks: Admin presets

Maintained by DigiDago Clément Prudhomme
Allow administrators to export the site settings to .xml presets, import and load other sites presets.
347 sites
18 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 



Screenshot #0


Clément Prudhomme (Lead maintainer)
Picture of David Monllaó
David Monllaó: Original author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • 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
  • Picture of David Mudrák
    Thu, 8 Dec 2016, 4:05 PM

    Thanks Clément Prudhomme for offering help with further maintenance of this plugin ( Please make sure to edit the plugin record so that the repository and bug tracker now link to your repository. Ideally David should transfer his current github repo over to you so that the existing issues there are kept for consistency.

  • DigiDago
    Thu, 8 Dec 2016, 4:47 PM
    Hi David,

    We regret it but this plugin needs always someone to adopt it. It seems we are too slow to respond when David Monllaó contact us, that's why David prefers to pass this plugin to someone else.

    Hope he can find somebody else.

  • Picture of A W
    Thu, 15 Dec 2016, 12:00 AM
    I've just installed this on a local VM build of Moodle. Installation OK, appears under plugins and can see settings. Can see no evidence of "Admin presets" or similar on add blocks menu. Tried adding block on Home and also within a course page, no drop down option for "Admin Preset" . Verified folder exists in /var/www/html/moodle/blocks/admin_presets and permissions all good.

    Can you advise why it wouldn't be showing?

    Any help much appreciated, Thanks
  • DigiDago
    Fri, 16 Dec 2016, 4:57 PM
    Hi AW,
    I think your need to go to your home page (not the dasboard but site home page / ?redirect=0) to add this block. If you are logged and on the homepage, you can add "Admin Preset" block.
  • Picture of David Monllaó
    Fri, 23 Dec 2016, 6:25 PM
    Thanks to Clément Prudhomme for adopting the plugin.
  • Picture of Jessica Gramp
    Wed, 29 Mar 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?

  • DigiDago
    Fri, 31 Mar 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, 10 May 2017, 8:53 AM
    Hi Clément,
    Does this plugin work on 3.2?
  • DigiDago
    Tue, 16 May 2017, 10:00 PM
    Hi Mark,

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

1 2
Please login to post comments