Has anyone encountered this behaviour with subsites' themes? Any help would be greatly appreciated..
Thank you. On Aug 13, 10:27 am, Alex <[email protected]> wrote: > Hello, > I've been trying to create an admin subsite using the 'generate > hobo_admin_site --make-front-site admin' command. > The problem i'm facing is that the themes of the seemingly different > sites conflict with each other, preventing me from implementing the > admin subsite. > > The front site has the '<set-theme name="XXX"/>' tag in its > front_site.dryml. The admin site has a different theme setup in the > admin_site_dryml (the default 'clean' hobo theme). If I load the > frontpage first, and then the /admin page, the custom 'XXX' theme of > the frontpage overrides the admin theme, and loads every css and > javascript file the front page has. Now, if i load the admin page > first, and then the frontpage, the admin theme 'clean' overrides the > front_site theme, again messing up the page. > > It seems like the whole hobo application can accept only one theme at > a time, and whichever is loaded first is applied to every subsite. > > However, this conflicts with the text in the Hobo manual regarding the > subsite generator: > 'The subsite will use app/views/taglibs/<subsite_name>_site.dryml > instead of app/views/taglib/appplication.dryml. This allows you to > easily set different themes and choose different CSS files for the > subsite.' > > Could this be some kind of bug? > Once again, thank you for your support on this issue. > > Regards, > Alex -- 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.
