Difference between revisions of "Database presets"

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Database presets.

m (Presets moved to Database presets)
(overwrite current settings 1.9 feature)
Line 1: Line 1:
 
{{Databases}}
 
{{Databases}}
{{Moodle 1.7}}To avoid the necessity of always having to create a new database from scratch, the database module has a presets feature. An image gallery preset is currently included in the database module to help get you started. You can create your own presets as well and share them with others.
+
To avoid the necessity of always having to create a new database from scratch, the database module has a presets feature (in Moodle 1.7 onwards). An image gallery preset is currently included in the database module to help get you started. You can create your own presets as well and share them with others.
  
 
==Importing a preset==
 
==Importing a preset==
Line 11: Line 11:
  
 
That’s all there is to using a preset. All the hard work of setting up the templates has been done for you.
 
That’s all there is to using a preset. All the hard work of setting up the templates has been done for you.
 +
 +
{{Moodle 1.9}}In Moodle 1.9 onwards, you are given the the option to overwrite current database settings (such as required entries, entries required before viewing, maximum entries, comments etc.) by the preset. Simply click the "Overwrite current settings" checkbox after importing or choosing a previously loaded preset.
  
 
==Exporting a preset==
 
==Exporting a preset==
Line 22: Line 24:
  
 
==See also==
 
==See also==
*[[Student projects/Presets for Database module]]
 
 
Using Moodle forum discussions:
 
Using Moodle forum discussions:
 
*[http://moodle.org/mod/forum/discuss.php?d=84050 Can't get columns to line up in list view] including moodle.org presets for download
 
*[http://moodle.org/mod/forum/discuss.php?d=84050 Can't get columns to line up in list view] including moodle.org presets for download

Revision as of 15:16, 13 May 2008

Template:Databases To avoid the necessity of always having to create a new database from scratch, the database module has a presets feature (in Moodle 1.7 onwards). An image gallery preset is currently included in the database module to help get you started. You can create your own presets as well and share them with others.

Importing a preset

Database presets page

To use a preset:

  1. On the database page, click the Presets tab.
  2. Either click the "Choose file" button, browse for the preset ZIP on your computer and click Import, or choose a previously loaded preset.
  3. If you desire, customize the fields and templates.

That’s all there is to using a preset. All the hard work of setting up the templates has been done for you.

Template:Moodle 1.9In Moodle 1.9 onwards, you are given the the option to overwrite current database settings (such as required entries, entries required before viewing, maximum entries, comments etc.) by the preset. Simply click the "Overwrite current settings" checkbox after importing or choosing a previously loaded preset.

Exporting a preset

If you wish to share your database presets with others, you have two options:

  1. Export as a ZIP file, which can then be imported to another course or Moodle site.
  2. Save as a preset, which publishes the database for other teachers on your site to use. It will then appear in the preset list. (You can delete it from the list at any time.)

Note: Only the fields and templates of the database are copied when exporting or saving it as a preset, not the entries.

See also

Using Moodle forum discussions: