Documentation on the stash block is available as well as an introductory video so the technical side of setting up the block is well covered, although ideas for making the most of the block's potential are left to the imagination of the course teacher. One or more instances of the stash object may be placed in the course. In this example, the teacher creates a 'treasure' stash object from 'Set up' in the block and then clicks the 'Location' text to get the code needed to paste into the Atto editor:
The teacher then goes to wherever in the course she wants the stash/treasure to be available, clicks the code icon and pastes it in - in a book chapter for instance:
This will display for the student like so:
Because the code may be added anywhere there is the Atto editor, it can also be added to HTML blocks which can then be situated in specific areas of the course, encouraging the student to explore further and work harder! Here the treasure has been added to a forum discussion thread so the student will only see it if they post or reply to a forum discussion:
And here the block has been added to an assignment submission page (but hidden on the main assignment screen.) The student must click to check out the assignment in order to find the treasure:
It's vital that admins install the stash snippets filter as well because it cleans up the code which must be pasted and makes it less daunting for the teacher.
Stash doesn't rely on activity completion, as badges do and it is also possible to restrict access to an activity until one or more stash objects have been picked up, using the stash availability plugin.