Does anyone have a successful example out there of putting Radiant in the vendor directory of an existing full-scale Rails app and having it play nicely?
I've tried unsuccessfully in the past, however with the final polish on 0.6 (and now 0.61) I'm ready to give it another shot. I have an app I would like to do this with that I'll be working on in a week or two. For my use here are the two main issues that I know of are: 1. Routes... I can load my app's routes first I essentially override everything but the final Radiant default "page not found" route. 2. Rendering of snippets or page parts with Radius tags in them straight in to my Rails app view... In particular, I imagine making a helper in my app for calling the Radiant content. Is there a way to render the snippet or part directly without creating a new PageContext every time it goes to render (I'd be doing this all through a Rails helper method I imagine...) 3. Less important to me, but interesting... the reuse of Layouts. Can I pull a layout as a Rails layout, ERB render and then do a final Radius render? Anyone tried this? Anybody doing any of this yet? Thanks, Loren www.hellovenado.com _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
