Thank you for your replies.

So until this bug is fixed in the next Hobo release, I thought of
removing the css stylesheets and javascript files from the app/views/
taglibs/themes/xxx.dryml, and inserting them seperately in
admin_site.dryml and front_site.dryml (admin files in admin_site and
front-end files in front_site.dryml). What do you think?

It would be nice though if this bug was fixed, I'm sure other users of
subsites have come across similar issues, and without the 'theme-
setting' feature subsites are much more difficult to handle.

Alex

On Aug 15, 11:55 pm, Matt Jones <[email protected]> wrote:
> It's #479 -https://hobo.lighthouseapp.com/projects/8324/tickets/479
>
> I've run across some other issues where redefinitions in subsite  
> taglibs act twitchy; I haven't had time to reduce them to a  
> reproducible test case.
>
> --Matt Jones
>
> On Aug 15, 2010, at 4:07 PM, Owen Dall wrote:
>
> > Sounds like a bug to me.  Can you enter a ticket in the Hobo  
> > lighthouse?
>
> > On Sun, Aug 15, 2010 at 4:23 AM, Alex <[email protected]> wrote:
> > 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 
> > athttp://groups.google.com/group/hobousers?hl=en
> > .
>
> > --
> > - Owen
>
> > Owen Dall, Chief Systems Architect
> > Barquin International
> > Cell: 410-991-0811
>
> > --
> > 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 
> > athttp://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.

Reply via email to