demianturner / sgl-docs-tickets-migration-test

0 stars 0 forks source link

Date selector with DHTML Calendar Widget #1506

Open demianturner opened 11 years ago

demianturner commented 11 years ago

With this patch you can make a great date selector using DHTML Calendar Widget with a simple call to SGL_Output::calendar.

It has an special param so the date is submitted to the manager as an array. So you can change your SGL_Output::showDateSelector with this one, without change your manager logic.

I had to make a little change to the PHP wrapper class wich I have already submitted to the DHTML Calendar project.

demianturner commented 11 years ago

[demian] looks interesting, not sure if SGL_Output is best place tho, will take a look

demianturner commented 11 years ago

[demian] i think the event module might be a good place for this, but prefer to do the work in next release