This module supports badging.
Visit /admin/config/services/cafbadges
to configure the site's connection to the City of Learning API.
From this page, you can select the badges that will be listed on the site.
On this project, skill badges have multiple achievement levels and are grouped by skill. The data for these groupings are not available in the City of Learning API, so we have a way to identify badge groups and provide content about them.
groups:
- name: Photography
blurb: |
Photography is a technical skill that architects, planners, and designers use to communicate their ideas to
others. For this badge, you will need to select your best photos from your project.
description: |
Photography is a technical skill that architects, planners, and designers use to communicate their
ideas to others. This Skill Badge is awarded to Makers that use photos to document their process,
thinking, and for presenting ideas. To earn a Photography - Level 1 Skill Badge you need to upload
photos to your design project, in any step of the design process, to document your work. Photos must
include details that help other Makers understand your project and/or environment.
badges:
- id: 3306
name: 'Photography I'
- id: 3308
name: 'Photography II'
- id: 3309
name: 'Photography III'
This is a YAML sequence of mappings. YAML is a human readable data format. A sequence is a collection of values. A map is a collection of keys and values.
groups
is the key the sequence of group maps. Each value in thegroups
collection is a map whose first key is prefixed with-
to indicate the start of a new value in the sequence.- Each group is a map with
name
,blurb
,description
, andbadges
as keys. name
,blurb
, anddescription
are always strings. If a string is very long, you can input it in different ways to make it more readable.badges
is a sequence of badge maps. Each badge has anid
andname
. Theid
value refers to the badge ID from City of Learning API.
More documentation about YAML is available at http://symfony.com/doc/current/components/yaml/yaml_format.html. A tool for linting (validating) your YAML is http://www.yamllint.com.