Stash block

Revision as of 08:45, 19 August 2016 by Adrian Greeve (talk | contribs) (Why isn't my item working properly?: TinyMCE problem.)

Jump to: navigation, search


Stash is a block that allows a teacher to create and then show items around a course. Students can then go and collect these items which will then appear in their stash block. The stash block is a good way to encourage more interaction with activities and is invaluable for teachers looking to gamify their course.

Adding an item

A teacher can click on the settings link in the stash block. This will lead them to a page that lists all the current items. Click on the "Add an item" button to add an item. Both a name and an image must be supplied. Clicking "Save and next" will progress to a location page.

Item location

The location page contains details about a specific item location. One item has the ability to be located in many different places. Each location determines how many times a student can collect an item from that area.

Frequently asked questions

Why isn't my item working properly?

There are a couple of possibilities that your item may not be working properly.

  • The code snippet will only work when inserted into an editor that only a teacher can see. Placing code into a forum post or database entry will not work. Items for these activities should be placed in the description of the activity.
  • Using the editor TinyMCE causes the JavaScript to be saved in an invalid form. Please use the atto editor instead.

How do I restrict access to an activity to rely on an item in the stash?

Restricting access to an activity through an item in the stash is possible, but requires the inclusion of the availability_stash plugin.