Forum: Radiant CMS Admin config editor

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
4db25e36d95dc0d07830cdc91bbb87e3?d=identicon&s=25 Stephane B. (sbusso)
on 2007-04-22 16:49
(Received via mailing list)
Hi all,

I found some posts but not found any extension about an interface in
admin to manage the config.

Then I tried to make one. As I'm new about Radiant, it should be a
useful exercise :)

I have started _something_ at

I got 1 (2) problem(s). The Config class is created under the Radiant
module, and when I try to access usual ActiveRecord methods (as the
find) I got an error from the 'Config Module'. I have got same problem
when I want to use the model abstract controller (can't find _find_
method for Config Module)

To bypass these issues I extended Radiant::Config for the _find_
method and did the minimum in controller. For now, the editor only
reads and updates values (in place editor).

Could you tell me what I'm doing wrong ? what is the solution to make
it cleaner ? Is there any restriction in accessing directly to the
Config table ?

Anyway, the extension system is great and it's very easy to add an
admin interface, thanks !
This topic is locked and can not be replied to.