User Guides

Settings Configuration

The settings configuration allows you to define groups of settings that can be set from within the admin panel. Settings are defined using the settings.yaml config file, normally this file is placed in the default config directory i.e. /config/default/settings.yaml.


Defining Settings

Defining settings groups is similar to defining content sections and collections. The following example defines a group of 'social' settings:

social:
  fields:
    - { name: "facebook", type: "text", title: "Facebook Page" }
    - { name: "twitter", type: "text", title: "Twitter Page" }
    - { name: "instagram", type: "text", title: "Instagram Page" }

These settings would then appear within the 'Manage Settings' section of the admin panel. Setting fields can be of any of the available content types, except collection.