lukhnos
2006-Dec-17 11:26 UTC
[ANN] A layout generator that uses Mollio CSS/HTML templates
I have created a Rails generator called "layout_mollio". It places a copy of the Mollio CSS/HTML templates (http://mollio.org) in your Rails app, and creates the layout and partials (if necessary) for the controller you specify. The reason I created it is that I found myself making use of Mollio all the time to give my newly created Rails app an instantly good look from the start. Mollio is well-designed and offers six types of layouts. As I don''t want to repeat myself, a generator seems the way to go. To install layout_mollio generator, you can either install it using gem: gem install layout_mollio_generator Or go to its home page at RubyForge: http://rubyforge.org/projects/layout-mollio-g/ Once you''ve set, generate the layout for your controler, for example: script/generate layout_mollio Expense type-d sidebar This creates and places expense.rhtml in your app/views/layouts , and a _sidebar.rhtml (the partial needed for the "sidebar" component for Mollio''s type-d layout) in app/views/expense/ For available layout types, you can refer to http://www.mollio.org . Hope this generator will be useful for you as it is for me. :) Cheers, lukhnos --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Dark Ambient
2006-Dec-30 23:37 UTC
Re: [ANN] A layout generator that uses Mollio CSS/HTML templates
Very cool! Thank you for the contribution and hard work lukhnos! Stuart On 12/17/06, lukhnos <lukhnos-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > I have created a Rails generator called "layout_mollio". It places a > copy of the Mollio CSS/HTML templates (http://mollio.org) in your > Rails app, and creates the layout and partials (if necessary) for > the controller you specify. > > The reason I created it is that I found myself making use of Mollio > all the time to give my newly created Rails app an instantly good > look from the start. Mollio is well-designed and offers six types > of layouts. As I don''t want to repeat myself, a generator seems the > way to go. > > To install layout_mollio generator, you can either install it using > gem: > > gem install layout_mollio_generator > > Or go to its home page at RubyForge: > > http://rubyforge.org/projects/layout-mollio-g/ > > Once you''ve set, generate the layout for your controler, for example: > > script/generate layout_mollio Expense type-d sidebar > > This creates and places expense.rhtml in your app/views/layouts , and > a _sidebar.rhtml (the partial needed for the "sidebar" component for > Mollio''s type-d layout) in app/views/expense/ > > For available layout types, you can refer to http://www.mollio.org . > Hope this generator will be useful for you as it is for me. :) > > Cheers, > lukhnos > > > > >-- http://en.wikipedia.org/wiki/Dark_ambient --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---