An extension should be able to do this fine. Looking around, I haven't seen one yet, but it would probably be a good excercise in learning both extensions and how Radiant works.
Here's what you probably need at a minimum: 1) A SurveyPage (descended from the standard Page class) 2) Some Radius tags to help you build the survey forms in a standard way, declared inside the SurveyPage class (so to create a new survey you'd just create a new SurveyPage in the standard Page interface and use these tags) 3) A SurveyController that all of the survey forms point to and handles saving the survey data 4) An Admin::SurveyController that allows you as the admin to interface with the results (unless you're fine with the results being public) 5) Some standard ActiveRecord descended class to handle saving the results Like I said before, this will definitely be a good learning experience since that list covers a good deal of the things you need to know for extensions (except maybe virtual pages, but I don't think they'd be any use in this case). One recommendation I'd give would be to freeze radiant into the vendor directory so you can easily look through what's already there. I've found that page.rb (especially find_by_url and everything dealing with rendering), site_controller.rb, and standard_tags.rb are the most important ones for getting a good picture of how Radiant works. Hope this helps and if anyone more seasoned has a better idea, let me know. -Andrew On 9/14/07, Richard Hurt <[EMAIL PROTECTED]> wrote: > Sean, > > Excellent information! I didn't find that user list before I posted the > question but I see now that there are quite a few commercial sites on > Radiant. And I get a built-in blogging engine as well. > > Now for my other question, is there any code for conducting on-line surveys > available for Radiant? Would this be an extension or an add-on of some > type? I'm still getting familiar with the Radiant terms and don't quite > know where everything goes. > > Thanx! > Richard > > On 9/14/07, Sean Cribbs <[EMAIL PROTECTED]> wrote: > > > > Richard, > > > > Radiant does sound like a good fit. Simply because a lot of people use > > it for blog software doesn't mean it has to be that. Take a look at the > > various sites linked from the wiki page called RadiantUsers. There's a > > lot of sites that use the built-in templates (or modified versions) but > > there are also sites built from scratch. Radiant does especially well > > with "brochure-ware" sites because of the flexibility given to the > > content designer and its orientation toward mostly-static content. For > > reference, here are a few sites built by core-team members: > > > > Me: http://kckcc.edu (ignore the design, they screwed it up after I left) > > Daniel: http://www.thegroggysquirrel.com/ > > Loren: http://diopa.org > > > > Cheers, > > > > Sean > > > > Richard Hurt wrote: > > > Hello all, > > > > > > After lurking on the list for a while and checking out the Radiant home > > page > > > I have a question. I am looking for a lightweight CMS framework for my > > > business (KangarooBox.com) to serve up mostly static pages. I was > > initially > > > going to just use RoR but there are quite a few holes that I might need > > > filled in the future (authentication, shopping carts, etc.) so I went in > > > search of a framework. Radiant looks to be what I need but from what I > > can > > > see it really wants to be a blogging engine. While I will need a blog > > > (doesn't everyone :) I don't want to try and force Radiant to do > > something > > > it's not designed for. So my question is this, is Radiant the thing to > > use > > > on a small commercial website or should it just stick to blogs? > > > > > > The one major thing I'm looking for right now is some sort of survey > > > extension. I am an old programmer so I could write something but I'm > > also > > > lazy and would rather use someone else's work. :) Is there anything > > like > > > that for Radiant? If not, do you know how hard it would be to create it > > or > > > what other RoR solutions I might try? > > > > > > Thanx! > > > Richard > > > _______________________________________________ > > > 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 > > > _______________________________________________ > 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
