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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to