Tiago, the "messed up version of the clean theme" suggests that you probably have set the "clean" theme in a subsite and a custom theme in another.
Despite what anybody would expect, the theme system is not able to show 2 themes for the same app. I have tried to find a quick fix a few days ago when I created the clean-sidemenu theme. I also asked Tom about that "Wouldn't it be nice if the theme was not application-whide, but subsite wide?", and he told me "I agree. Subsite themes would be better. The theme system was never given much love." After commenting the code on the initializer dryml_taglibs.rb, everything > works fine. > I don't think so :-). It works fine with ONE theme at a time, actually the theme that is loaded first, but if you switch to the susbsite with the clean theme it will be messed up because the set_theme will not change the theme dynamically. Try it: the initializer just change the order the theme is loaded so it might appear as the cause of the problem but it isn't: having 2 themes IS the problem. In practice, you can make it work in development with a quite simple patch, but in production it needs a deeper refactory in order to be used as you (probably) need. It's not a huge refactory, but since it doesn't look like a quick fix, it needs some higer decision ;-) ciao dd On Sun, Mar 6, 2011 at 5:58 PM, Tiago Franco <[email protected]> wrote: > Hi, > > I'm using Hobo 3 in an app and I've bumped into an issue that is happening > only in production. > > I use the set-theme tag to change the theme of the app. All works well on > development and staging. On production the page renders a messed up version > of the clean theme. This is only happening in production. > > After commenting the code on the initializer dryml_taglibs.rb, everything > works fine. Don't know what's wrong though. > > Thanks, > TF > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" 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/hobousers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
