List of possible pugin settings.yml default options (input, check box, etc.)


(Steven Slade) #1

I am currently experimenting with a discourse plugin settings.yml file and playing with the available formats the admin setting fields can be set to. Example that display a checkbox:

plugins: awesomeness_enabled: default: true client: true awesomeness_max_volume: default: 10 client: true

The ones I have discovered so far:

  • _group for input field w/ string

  • _enabled for check box

Ones I am interested in:

  • A drop-down

  • An input with multiple tag-like groups

(Sam Saffron) #2

have a look at the core site_settings yml file for all the examples, its the same format.

(Steven Slade) #3

Here’s the link to the core site_settings yml for anyone else interested.