DHTML Calendar plugin

Plugin details

Adds plugin support for Dynarch DHTML/JavaScript Calendar.

Websitehttp://dry.4thebusiness.com/ Repositorysvn://rubyforge.org//var/svn/dhtmlcalendar/dhtml_calendar Author 4ssoM LLC Tags dhtml, Calendar LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install svn://rubyforge.org//var/svn/dhtmlcalendar/dhtml_calendar

How to use this engine

 <%= popup_calendar 'person', 'birthday',
       { :class => 'date',
         :field_title => 'Birthday',
         :button_image => 'calendar.gif',
         :button_title => 'Show calendar' },
       { :firstDay => 1,
         :range => [1920, 1990],
         :step => 1,
         :showOthers => true,
         :cache => true }
 %>


or

 <%= calendar_tag 'person', 'birthday', :box,
       { :class => 'date' },
       { :firstDay => 1,
         :range => [1920, 1990],
         :step => 1,
         :showOthers => true }
 %>


or

 <%= calendar 'person', 'birthday',
       { :class => 'date' },
       { :firstDay => 1,
         :range => [1920, 1990],
         :step => 1,
         :showOthers => true }
 %>


or

 <%= calendar_field 'person', 'birthday',
       { :class => 'date',
         :date => value,
         :field_title => 'Birthday',
         :button_title => 'Show calendar' },
       { :firstDay => 1,
         :range => [1920, 1990],
         :step => 1,
         :showOthers => true,
         :cache => true }
 %>


or

 <%= calendar_select 'person', 'birthday',
       { :class => 'date',
         :date => value,
         :field_title => 'Birthday',
         :button_title => 'Show calendar' },
       { :firstDay => 1,
         :range => [1920, 1990],
         :step => 1,
         :showOthers => true,
         :cache => true }
 %>

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, 7 months ago