Plugins - Theme support

StarAdd to favorites

This plugin provides support for themes to the rails application environment. It supports theme specific images, stylesheets, javascripts, and views. The views can be in ERb (rhtml) or liquid formats. Optionally, you can configure the theme system to ignore any templates except liquid ones.

Matt McCray

http://mattmccray.com/svn/rails/plugins/theme_support

Ruby's

  • Currently 4.2/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

View Extensions

Tags

Comments

Add a comment
Andy 4 Apr 2008

Damien - Thanks for the articles on how to keep this plugin running with newer versions of rails. Its been a big help for me and I appreciate it!

Damien 9 Jan 2008

I have writtent an article on how to install this plugin with Rails 2.0.

It is available on my blog: http://www.webdrivenblog.com/2008/1/9/installing-the-theme-support-plugin-for-rails-2-0

Damien 27 Nov 2007

I have writtent an article on how to install this plugin with Rails 1.2.

It is available on my blog: http://www.webdrivenblog.com/2007/11/27/installing-the-theme-support-plugin-with-rails-1-2

merk 8 Jun 2007

With rails 1.2.3 don't work

Any suggest?

Gabe 29 Mar 2007

This plugin did not previously support explicit file extensions. I have created a patch and submitted it to Matt McCray. In the meantime if you need it please contact me and I will send it to you (it also includes the well-discussed routing fix that was floating around).

cedric 20 Jan 2007

for Rails 1.2 I've emptied routesetex.rb and copy all the namedroutes lines in my routes.rb file, and replacing it by map.connect :

theme_support

map.connect "/themes/:theme/images/*filename", :controller=>'theme', :action=>'images' map.connect "/themes/:theme/stylesheets/*filename", :controller=>'theme', :action=>'stylesheets' map.connect "/themes/:theme/javascript/*filename", :controller=>'theme', :action=>'javascript'

map.connect "/themes/*whatever", :controller=>'theme', :action=>'error'

and it works well

Mars 10 Dec 2006

As of 2006-12-10, this plugin does not work with Rails 1.2.

The patches applied by the plugin to add themes to the RouteSet and search for theme Views do not jive with Rails 1.2. I've tried to re-build those patches, but it's more than a quick fix.

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?