What's new? | Help | Directory | Sign in
Google
activecalendar
A rails plugin that provides a javascript calendar date renderer
  
  
  
  
    

Overview

Active Calendar replaces the standard rails date and datetime renderers with the javascript calendar from Dynarch. It is a drop in replacement, meaning no code needs to be changed. Just install the plugin and your app will automatically start using it. It even works with Active Scaffold.

Installation

To install the plugin use the following command:

./script/plugin install http://activecalendar.googlecode.com/svn/trunk/activecalendar

Next add the javascript and stylesheet includes to your layout:

  <%= stylesheet_link_tag "/javascripts/jscalendar-1.0/calendar-win2k-cold-1.css" %>
  <%= javascript_include_tag "jscalendar-1.0/calendar.js" %>
  <%= javascript_include_tag "jscalendar-1.0/lang/calendar-en.js" %>
  <%= javascript_include_tag "jscalendar-1.0/calendar-setup.js" %>

Your app should now use the Dynarch calendar instead of the standard rails date renderers.