Difference between revisions of "Understanding the CLIO URL Scheme"

From CLIO

Line 66: Line 66:


== Examples ==
== Examples ==
Load Facilitator Mode:
{| class="wikitable"
 
!Example
http://www.cliomuseums.org/clio/exhibit/
!URL
 
|-
Load Facilitator Mode, with the Settings menu loaded:
|Facilitator Mode
 
|http://www.cliomuseums.org/clio/exhibit/
http://www.cliomuseums.org/clio/exhibit/?menu=settings
|-
 
|Facilitator Mode, with the Settings menu loaded
Load the Kiosk Mode:
|http://www.cliomuseums.org/clio/exhibit/?menu=settings
 
|-
http://www.cliomuseums.org/clio/exhibit/?mode=kiosk
|Kiosk Mode
 
|http://www.cliomuseums.org/clio/exhibit/?mode=kiosk
Load the "Getting Started" Program in Exhibit Mode:
|-
 
|"Getting Started" Program in Exhibit Mode
http://www.cliomuseums.org/clio/exhibit/?mode=exhibit&program=Default
|http://www.cliomuseums.org/clio/exhibit/?mode=exhibit&program=Default
 
|-
Load the "Visual Thinking" activity from the "Getting Started" Program in Activity Mode:
|"Visual Thinking" activity from the "Getting Started" Program in Activity Mode
 
|http://www.cliomuseums.org/clio/exhibit/?mode=activity&program=Default&activity=prototype
http://www.cliomuseums.org/clio/exhibit/?mode=activity&program=Default&activity=prototype
|-
 
|"Getting Started" Program in Exhibit Mode, with the "Visual Thinking" activity loaded
Load the "Getting Started" Program in Exhibit Mode, with the "Visual Thinking" activity loaded by default:
|http://www.cliomuseums.org/clio/exhibit/?mode=exhibit&program=Default&activity=prototype
 
|}
http://www.cliomuseums.org/clio/exhibit/?mode=exhibit&program=Default&activity=prototype

Revision as of 19:56, 19 April 2022

Add a photo.png

Overview

The CLIO web application uses a URL query-based system to load the interface dynamically based on what parameters is based to it through the URL.  This can be thought of similarly to the way options are passed into a programming function.  When the CLIO web application directory is navigated to without any parameters, it will default to the full “Facilitator Mode” experience.

Using URL Parameters

By utilizing some URL configuration parameters, we can change how the web application will appear when loaded.  This is helpful for configuring how we would like any standalone kiosks to operate, such as automatically loading an exhibit or activity on startup, or for sending links to activities for use in remote lesson plans. 

We can navigate to a full facilitator mode experience using http://www.cliomuseums.org/clio/exhibit/. Parameters are attached to the end of the URL with a question mark ('?'). As an example, we can load the kiosk experience using http://www.cliomuseums.org/clio/exhibit/?mode=kiosk. Multiple arguments can be added together with an ampersand ('&'), such as https://www.cliomuseums.org/clio/exhibit/?program=NaturesNetworks&activity=salmon.

Parameters

There are several options that can be configured through the URL.

Parameter Description Options
program This is the program to be loaded. This is the system name of the program, not the friendly name.  

For example, the “Getting Started” program has a system name of “Default”.

activity This is the activity to be loaded.

This requires that a program has been specified.

This is the system name of the activity, not the friendly name.
menu This is the menu section to be loaded.

This option will be ignored if there is a program and activity defined.

The system name of the menu, as defined below.


program: Activities Menu

facilitation: Facilitation Menu

settings: Settings Menu

accessibility: Accessibility Menu

about: Help Menu

mode This will configure the CLIO interface experience. The system name of the mode, as defined below.


kiosk: Facilitator mode with hardware control options

facilitator: Facilitator mode

exhibit: Exhibit mode. Requires program to be set.

activity: Activity mode. Requires program and activity to be set.

view Configure how activity links are displayed within the interface. 'list' or 'grid'
development Used by kiosk mode to enable hidden hardware settings. 'true' or 'false'

Examples

Example URL
Facilitator Mode http://www.cliomuseums.org/clio/exhibit/
Facilitator Mode, with the Settings menu loaded http://www.cliomuseums.org/clio/exhibit/?menu=settings
Kiosk Mode http://www.cliomuseums.org/clio/exhibit/?mode=kiosk
"Getting Started" Program in Exhibit Mode http://www.cliomuseums.org/clio/exhibit/?mode=exhibit&program=Default
"Visual Thinking" activity from the "Getting Started" Program in Activity Mode http://www.cliomuseums.org/clio/exhibit/?mode=activity&program=Default&activity=prototype
"Getting Started" Program in Exhibit Mode, with the "Visual Thinking" activity loaded http://www.cliomuseums.org/clio/exhibit/?mode=exhibit&program=Default&activity=prototype