Re: Package-proposal: HTML_Calendar
| From: | Matthias Nothhaft | Date: | Sat, 09 Aug 2003 13:48:16 +0000 |
| Subject: | Re: Package-proposal: HTML_Calendar | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-19428@lists.php.net to get a copy of this message | ||
Stefan Neufeind wrote:
I guess everybody knows what it should be useful for :-) Draw a monthly calendar, displaying the days / weeks / weekdays. Proposed features: - possibility to give links for every day so dates can be linked to other pages - possibility to give onMouseOver-text for for every day so text can be displayed inside DHTML-boxes - variable start of week (Sunday / Monday) - links to next / previous month - maybe also direct month-/year- selection via dropdown-box if package-users wish - ... I think this might be a quite useful class that could be used in various occassions without "reinventing the wheel" everytime. We missed such a package in pear currently. Please comment Stefan Neufeind **************************************************** SpeedPartner, Inh. Michael Metz Neukirchener Str. 57, 41470 Neuss, Germany Tel.: +49-2137 / 929 829, Fax: +49-2137 / 137 17 E-Mail: info@speedpartner.de ****************************************************I think this is a good idea, would be very nice if we could customize all... Please try separating logic from output. A generic package would be a good solution: Some people need it with integrated (d)html output and others (me) need a "raw data set" to build a template (I'm using Smarty) You could use a factory and some drivers for different outputs - or do you think this is overkill? Regards, Matthias