Creating a Flash Card Activity

From CLIO

Revision as of 10:18, 18 April 2022 by Metaphoraccoon (talk | contribs) (Created page with "===Overview=== Within our Getting Started Package, you will find a Template folder. We have provided a template for the configuration file, which is used by the CLIO interfac...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview

Within our Getting Started Package, you will find a Template folder. We have provided a template for the configuration file, which is used by the CLIO interface to set up the activity. We also include a content drafting template created in Microsoft Word that can aid collaboration when creating activities as part of a development team.

Options

Flash Card Configuration

These are configuration settings for each flash card in this activity.

Property Description Expected Parameters Examples
Header The title that is used on the flash card.  This is displayed on the front and back side. Plain Text
Image The background image that is used from the front side of the card. Image File
Description – Brief This is the short description that is shown on the back side of the flash card. Plain Text
Description – Full This is the full rich text description that will show in a Look Closer pop-up when the user clicks on the Look Closer Button. Rich Text

Drafting the Content

Open the provided Content Template for drafting the Flash Card activity.  First, we must decide on the basic descriptive information for the activity, such as the title, description, preview image and theme.  This information is required because it is used by the CLIO interface to properly display the activity.

Next, we can start to write the content needed for the Flash Card activity type.  This activity type displays flash cards for the user, with a title on the front and a brief description on the back.  More information about each card, with full rich text markup, can be opened in a full screen pop-up.  Using a carousel, the user can navigate through each card.

For this activity, we can copy the template for Card 1 and create as many duplicates as we need to have enough flash cards.  For each card, we are required to have a title and a brief description.  Adding an image preview for the card, as well as a full rich text description, are optional.

Coding the Activity

The next step will be to take the content that was created in the Content template and begin to migrate it into the Configuration template.  We will need to open the provided Configuration Template for drafting the Flash Cards activity.  This can be done in a plain text editor, but for the purpose of this manual we will be using jsoneditoronline.org/.  

Now, we will be duplicating the necessary fields to ensure that we can enter all of the data that we’ve spent time drafting.  In our previous example, we decided to use two flash cards for our activity, so we should start by making sure we have two flash cards within the configuration file.

The first card within the activity is labeled as ‘1’, underneath the Content object.  If we click on the small box to the left of ‘1’, we can choose to duplicate it as many times as we need to create enough cards.  

We have two slides we would like to add to the activity in total, so we will need to duplicate this field once.  After this is done, we will need to rename the fields we just duplicated.  Currently, it will be named “1 (copy)”.  It is important that these keys be numeric and unique.  We will rename it “2”.

We can now begin filling out the empty fields for each flash card.  Under the first card, named “1”, we have the same information we entered into our content draft; Header, Image, and a Description object, containing the brief and full description.

We can copy the Title for our first card into “Header”, the location for our image into “Image”, as well as our brief and full rich text description into “Brief” and “Full”, respectively.  We can do this for both flash cards, using the information from our draft.

Once you are finished, you can download the finished JSON file by clicking ‘Save’ and then ‘Save to Disk’.  This file can be copied to the Program’s @Activity folder, and the media can be copied to the Program’s @Media directory.