Professional Documents
Culture Documents
Information Services
Lets you allow posts to be rated, which will enter a score in the
gradebook for the student’s submissions in the database. The
grade is set using the dropdown menu below this option.
Once you’re finished, select Save and return to course at the
bottom of the page.
Required entries
The number of entries each student is required to enter before
the database activity can be considered complete. The student
will see a reminder message if she has not submitted the re-
quired number of entries.
Maximum entries
The maximum number of entries the student can submit be-
fore she is blocked. This prevents people from spamming the
system, either in the hope that one entry is good enough or,
on a public site, as a way of advertising.
Comments
Enables commenting on entries. The comments field appears
on the single
view template when this is enabled.
Require approval?
Allows you to require each entry to be approved
Allow posts to be rated?
BRYN MAWR COLLEGE Month YYYY
Now you should see a page that says Picture field. (Your page layout), add descriptive text around the replacement tags, and
will be titled differently based on what kind of field you chose.) publish. The database makes it easy to rapidly view your
Enter a field name and description. Enter the other specifica- changes by flipping between the Templates tab and
tions as necessary. For now, we’ll probably say that it isn’t. the tab for the template you are working on.”
Necessity will be determined by the kind of template you des-
ignate for your database or other factors that may not be fore- If you wish to create your own template, you should be able to
seen in this guide. (You can go back and edit these later if you work from the text extracted above. This guide will not go into
find out that it is necessary.) detail on specifics and for most purposes, the default template
Once you’re finished, select the button Add. works well enough.
MAKE SURE WHEN YOU ARE SWITCHING BETWEEN VIEWS
You can continue to add fields as described above until you THAT YOU SAVE YOUR WORK. Otherwise, it will be lost.
have all the fields you need.
Adding Entries
Templates for the Interface
Once your finished with your fields and your template, you
When you set your fields, a default interface is created. If you should be able to add entries relatively easily. You should
wish, however, you can improve the interface if you have a make sure that your field descriptions are specific enough so
basic knowledge of HTML. that everyone will enter information in a similar way, in the
This is quoted from the Moodle Book: example included it is clear that the Location field isn’t specific
“Database templates all work on the same principle. They are enough. (It should dictate a format for entry such as CITY,
basically HTML pages with a new set of tags for the database STATE, COUNTRY)
module to interpret. When editing a template, Moodle dis-
plays a list of available tags on the left side of the editing Once you’re finished with an entry, make sure to either choose
screen. Double-clicking on any of the tags adds it to the tem- Save and view or Save and add another.
plate. The database activity interprets these new tags before
sending the template’s HTML to the browser for display. It Importing
looks for words enclosed in either two square brackets ([[) or
two hash signs (##), representing two different types of inter- When creating a database in Moodle, you also have the option
face elements it can add to the template. of importing a .csv file. You can do this by going to the New
entry tab and choosing the link at the bottom that says Upload
The square brackets define data tags, which tell the module to entries from a file.
replace the word in the brackets with the value or form ele-
ment of the field with the same name. So if you have
a database with a name field, you would represent it in the
template with [[name]]. In the single or list template, the mod-
ule would replace it with the data in the name field for that
entry.