I whipped up a quick extension today that some might find useful. I
searched around a little and didn’t come with any solutions that I was
happy with, form a functional or aesthetic standpoint.
It adds a “Settings” tab that provides a nice looking interface to
configuration settings. You can easily rebrand your admin with a title
and subtitle, set default page parts and publishing status, all with the
settings that Radiant supports already.
If you’re an extension developer and you want to store some settings in
the Radiant::Config model, those settings will show up on this tab
Furthermore, it adds a “description” field to each setting in the config
table. When you migrate the extension it will fill in some descriptive
text for all the default config entries. If your extension uses the
config table, you can add your own description to tell the user just
what this setting controls.
Screenshots on the Wiki:
Let me know what you think.
This is a general solution for any configuration settings, but most
sites probably won’t need it, since many of this is set it and forget
it. However, one thing I would like to integrated in radiant core
somewhere is a more specific preference pane. A page designed to set
all the config options with a more specific and UI, rather than just a
list of variables.
Is that something you think belongs in Radiant core or not?