Thanks Brian, that tiny change helped me hugely.

Clarksta

On May 11, 4:38 pm, Bryan Larsen <[email protected]> wrote:
> One option that is always available is to redefine the tag that's
> causing you problems:
>
> This is what's in rapid_core.dryml:
>
> <def tag="theme-stylesheet" attrs="name">
>    <% name ||= Hobo.current_theme -%>
>    <link
> href="#{base_url}/hobothemes/#{Hobo.current_theme}/stylesheets/#{name}.css"
>          media="all" rel="Stylesheet" type="text/css" />
> </def>
>
> You can just cut and paste that into application.dryml, changing it as
> appropriate.
>
> But the stylesheets are actually called from
> app/views/taglibs/themes/clean/clean.dryml, so you can just remove the
> calls the <theme-stylesheet> and replace with hardcoded links.
>
> Even better, I just pushed a tiny 
> changehttp://github.com/tablatom/hobo/commit/156b2ada90212dd4d8bd5758cf686b...
>
> so that you can replace <theme-stylesheet> with <theme-stylesheet
> media="screen">
>
> cheers,
> Bryan
>
> Clarksta wrote:
> > Hi,
>
> > I was reading with interest the post titled:  Theme stylesheets
> > hardwired for media="screen" (bug)
>
> > which describes how to modify the theme-stylesheet tag to use the
> > stylesheet for printing as well as page display.(the change is now in
> > Edge Hobo thanks Tom)
>
> > But what if I want to use a different stylesheet for printing?
>
> > Thanks
> > Clarksta
--~--~---------~--~----~------------~-------~--~----~
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