[Radiant] Adding Options to my Extension
Sean Cribbs
seancribbs at gmail.com
Thu Feb 14 12:56:41 CST 2008
Chris,
I like to use Radiant::Config. So if my extension was named Foo, I
might do something like this:
Radiant::Config["foo.file_path"] = "/some/path/to/somewhere"
Radiant::Config["foo.download_enabled?"] = true
Sean
Chris Parrish wrote:
> What's the preferred way to add options to an extension. I want to let
> the developer configure things like path locations so that their choices
> are loaded at startup (and then used by my extension).
>
> -Chris
> _______________________________________________
> Radiant mailing list
> Post: Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
>
More information about the Radiant
mailing list