# Integrating radius with a store

**URL:** <https://www.ruby-forum.com/t/integrating-radius-with-a-store/79690>\
**Category:** Radiant CMS\
**Created:** [December 18, 2006, 9:30am UTC](https://www.ruby-forum.com/t/integrating-radius-with-a-store/79690 "2006-12-18T09:30:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sean\_Johnson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@Sean\_Johnson](https://www.ruby-forum.com/u/Sean_Johnson)\
**Post date:** [December 18, 2006, 9:30am UTC](https://www.ruby-forum.com/t/integrating-radius-with-a-store/79690/1 "2006-12-18T09:30:34Z")

</div>

I’m in the process of building out a site for a client that needs store  
functionality. I’ve built the admin backend to handle product additions,  
and  
have linked it up with the admin in Radiant. I’ve also created and  
routed  
the views for front-end users to a /store directory off the root.

I can’t figure out how to get the layout for the store to match the  
layout  
of the rest of the site. Since it’s parsing in the YML files and  
building  
the pages dynamically, integration has been a pain in the neck. Any  
suggestions or advice on how to do this successfully would be very much  
appreciated. Thanks all…

-s

---

<div class="post-metadata">

**Author:** ![Sean\_Johnson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@Sean\_Johnson](https://www.ruby-forum.com/u/Sean_Johnson)\
**Post date:** [December 18, 2006, 3:03pm UTC](https://www.ruby-forum.com/t/integrating-radius-with-a-store/79690/2 "2006-12-18T15:03:13Z")

</div>

Based on the information you have given us, I see two options.

1. Implement some Radius tags so that your data shows up in a normal  
page or  
an uncached dynamic page. These could hook directly into your store  
functionality. Then the store functionality can have the same visual  
design  
as the other pages

2. Maintain two layouts/VDs - a Radiant-based one and a Rails/ERb  
template  
for your store.

If the primary functionality of your site is the store, maybe Radiant  
isn’t  
the best choice. You might want to look at Comatose, which embeds a  
mini-CMS in a Rails application through a plugin. Radiant is great for  
static or semi-dynamic content, but use the best tool for your needs.

Sean C.  
[seancribbs.com](http://seancribbs.com)
