[Radiant] adding shards regions

2008-06-12 Thread Jim Gay
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: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/

Re: [Radiant] adding shards regions

2008-06-12 Thread Chris Parrish
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: Radiant@radiantcms.org Search:

Re: [Radiant] adding shards regions

2008-06-12 Thread Sean Cribbs
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

Re: [Radiant] adding shards regions

2008-06-12 Thread Jim Gay
That was a big help Sean. Thanks. I have the basics started with editable regions and in trying to make this extension as helpful as possible I've commented the help_extension.rb and README with details about setting up regions. Chris, take a look if you haven't tried it yourself yet: