hi,I need css codes that i can use.I need someone to help out because I
don''t want to use the one inside the text..agile web dev with rails
that is available at
http://media.pragprog.com/titles/rails3/code/depot_c/public/stylesheets/depot.css
Regards and Respects,
Kindness in thought leads to wisdom.
Kindness in speech leads to eloquence.
Kindness in action leads to love.
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
checkout the themes plugin from Eric Berry at http://github.com/cavneb/themes There you see the example. It''s just two lines of code you have to type. Good luck anyway. Cheers, Chris -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
As suggested in this email, I install Eric Berrys themes, but it isn''t
working as expected.
The git directory is there. The themes are in the appropriate location.
At the top of charges.html.erb, I have added :
<% use_theme(''bitbucket'') %>
In the application_controller.rb I have added:
layout ''themes''
But, I get this error:
Showing app/views/layouts/charges.html.erb where line #9 raised:
undefined method `use_theme'' for #<ActionView::Base:0x101f61100>
If I removed <% use_theme(''bitbucket'') %> from the head,
the page renders
correctly. Do I need to define the method somewhere?
*susan*
> checkout the themes plugin from Eric Berry
at http://github.com/cavneb/themes
> There you see the example. It''s just two lines of code you have to
type.
>
> Good luck anyway.
>
> Cheers,
> Chris
> --
> 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
christoph.jasinski-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
2009-Dec-11 00:01 UTC
Re: need help with CSS codes
Hi,
sorry for that late response.
Put this in your *layout.html.erb* file (if you have one. Normally, it
must go into the <HEAD>-tag of html)
<%= use_theme(''bitbucket'') %>
To use the default layout for these themes, add the following to
*application_controller.rb*
layout ''themes''
This should work.
Cheers,
Chris
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.