On Jan 15, 3:02 pm, Alpha Blue <[email protected]> wrote: > Thanks guys - I appreciate both of your responses. > > Marnen, I did look at liquid previously and did so again this morning. > However, while I like what the developers are trying to do with certain > features, it's not for me.
As Marnen said you may want to reconsider - mephisto for example uses liquid for themes and so on and you can change those on the fly > So, my first decision is how to dynamically modify the assets_dir. I > know that assets can be modified through URLs (CDNs), but again, I'm > just now touching into looking through quite a bit of code to make sure > I understand what is going on step by step. Then, I'll create some test > code to play with. > I wonder whether you're overthinking things slightly. If you had a helper called current_theme_path that returned the path to the current theme (eg themes/default/ initially, themes/minimalist/ etc... then you should be able to stuff like style_sheet_tag (current_theme_path + 'blah.css') or image_tag(current_theme_path + 'heading.png') Fred Fred
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

