SpinaCMS / Spina

Spina CMS
http://www.spinacms.com
Other
2.19k stars 405 forks source link

Create Spina::Setting to house core and plugin user editable preferences #270

Closed simmerz closed 6 years ago

simmerz commented 7 years ago

Some preferences are immutable, but others change (things like Site Title might change for SEO reasons, but a google analytics code is unlikely to). Spina::Setting should provide a serialised preferences object to house arbitrary preferences for both core and plugins.

My personal use case is a key value pairing to house things like editable email templates in https://github.com/initforthe/spina-jobs

simmerz commented 7 years ago

This is completed by https://github.com/denkGroot/Spina/pull/288