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" => 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" things like a text field if the > database field is a date field? > > I would understand it if it was something like: > > $form->input("Lawsuite/date_end", array("type" => "mycalendar"); > > and there was a directory called plugins/mycalendar with all the > necessary code..... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---