HI All, Please can anyone tell me whether there is a rails plugin/app that allows creation of a calendar that can render events. I am not talking about a calendar date picker of which there are several, but something more along the lines of http://www.backpackit.com/calendar where an html/css calendar can be rendered with dates highlighted. Many thanks Anthony --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Anthony, This might help http://wiki.rubyonrails.org/rails/pages/Calendar+Helper+Plugin Mike> -----Original Message----- > From: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of Ant > Sent: 16 January 2008 11:46 > To: Ruby on Rails: Talk > Subject: [Rails] Calendar in Rails > > > HI All, > > Please can anyone tell me whether there is a rails plugin/app > that allows creation of a calendar that can render events. I > am not talking about a calendar date picker of which there > are several, but something more along the lines of > http://www.backpackit.com/calendar where an html/css calendar > can be rendered with dates highlighted. > > > Many thanks > > > Anthony > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Try this http://agilewebdevelopment.com/plugins/instant_calendar Ant wrote:> HI All, > > Please can anyone tell me whether there is a rails plugin/app that > allows creation of a calendar that can render events. I am not talking > about a calendar date picker of which there are several, but something > more along the lines of http://www.backpackit.com/calendar where an > html/css calendar can be rendered with dates highlighted. > > > Many thanks > > > Anthony-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hi: Try this link. We recently deployed a calendar for our in-house intranet where users can sign up for classes(events). This will give you the calendar and event side of things... http://rubyforge.org/projects/railendar/ Gary. On Feb 28, 10:33 pm, Unnikrishnan Kp <rails-mailing-l...@andreas- s.net> wrote:> Try this > > http://agilewebdevelopment.com/plugins/instant_calendar > > Ant wrote: > > HI All, > > > Please can anyone tell me whether there is a rails plugin/app that > > allows creation of a calendar that can render events. I am not talking > > about a calendar date picker of which there are several, but something > > more along the lines ofhttp://www.backpackit.com/calendarwhere an > > html/css calendar can be rendered with dates highlighted. > > > Many thanks > > > Anthony > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Check out http://github.com/p8/table_builder/tree/master. It works similar to form_for. It requires objects with a method that returns a date. <% calendar_for(@tasks, :year => @year, :month => @month) do |t| %> <%= t.head(''mon'', ''tue'', ''wed'', ''thu'', ''fri'', ''sat'', ''sun'') %> <% t.day(:day_method => YOUR_DATE_METHOD) do |day, tasks| %> <%= day.day %><br /> <% tasks.each do |task| %> <%= h(task.name) %><br /> <% end %> <% end %> <% end %> <% end %> -- Posted via http://www.ruby-forum.com/.