If you look at the way the original Shards extension modified the Radiant::AdminUI object, that should get you going in the right direction. That said, here's the gist:

1) Add an attr_accessor for your controller name to Radiant::AdminUI (class_eval is probably best).
2) Put an OpenStruct in that attribute.
3) Add Radiant::AdminUI::RegionSet objects to attributes of the ostruct that match your template names -- 'edit', 'index', etc.
4) Add your regions and partials to the RegionSets.
5) Modify your views to provide the regions and default partials. Looking at the included view templates should help.

Sean

Chris Parrish wrote:
Jim Gay wrote:
I want to add regions into the interface for radiant-help.
Is this possible? If so, can I get some pointers on how to go about that?

-Jim
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
Ditto for Styles 'n Scripts

-Chris
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to