Re: [Radiant] adding shards regions

2008-06-17 Thread Sean Cribbs
Jim, Right now it's based completely on controller and template name. So if 'developing' is another controller, you're fine. Otherwise, it would require a major shift in the way that RegionSets are determined. However, you can override the controller name and template name by setting the ap

Re: [Radiant] adding shards regions

2008-06-17 Thread Jim Gay
Sean, I've got a question about this again. I'm trying to add regions to my views, but I have a different file structure and I don't quite know how to get render_region to work with it. For example, I have: admin/help/index.html.haml (works fine) admin/help/developing/index.html.haml (not

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: http

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 in

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: http://radiantcms.org/mailing-list/