By dbrsystems on
How difficult would it be to add a data picker (little calendar) to the event module? Instead of using the multiple pull-down selectors to pick date and time for an event, the user would click on a little calendar and select the date graphically.
Thanks,
Leo
| Attachment | Size |
|---|---|
| jscalendar.module.txt | 1.27 KB |
Comments
Not terribly hard... I've done it.
This is designed to work with jscalendar-1.0.
Get the above package, add this code to your template.php file (PHPTemplate themes, create the file if it doesn't exist), find the theme function that calls the event widget currently... some assembly needed.
Note that this is for 4.7 and that the s cript tags are deliberately broken to fool the suspicious content filter on Drupal.org (isn't there a better way???)
- Robert Douglass
-----
My sites: HornRoller.com, RobsHouse.net
Jscalendar now part of Javascript Tools module
There's now an easy to use Jscalendar implementation in the Javascript Tools module. Enable the module and then add a 'jscalendar' class to a textfield.