DatePicker / Calendar popup

2008-09-23 Thread toby78
The OvenCMS uses this line for a calendar popup: $form-input(Lawsuite/date_end, array(label = false, type = text, class = datepicker)); When I copy this into another project it does not work. Where is this plugin located or where is it supposed to be ? And how come a plugin can overwrite

Re: DatePicker / Calendar popup

2008-09-23 Thread mark_story
The datepicker class just adds a CSS class called datepicker. Look at the OvenCMS javascript to see how the datepicker is being added in. -Mark On Sep 23, 11:27 am, toby78 [EMAIL PROTECTED] wrote: The OvenCMS uses this line for a calendar popup: $form-input(Lawsuite/date_end, array(label =

Re: DatePicker / Calendar popup

2008-09-23 Thread gremlin
I already answered your question Toby. The datepicker class is added to the date input element. That is all that cake has to do with it. After that it is purely javascript. The javascript is then using the classname to attach a behavior to the element. The javascript is not a part of the CakePHP