Event All Day needs a code cleanup and needs PHP-based detection to avoid flicker, as described in the README.txt file:
When showing the edit form, javascript decides to hide the fields if both are at midnight. This could be done in php which would save a minor flicker after page renders.
I'll be writing a patch to accomplish this.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | event_all_day_0.patch | 5.55 KB | praseodym |
| #3 | event_all_day.install | 595 bytes | praseodym |
Comments
Comment #1
praseodym commentedI finished all code and went testing, but things didn't work out: it turned out that the event_all_day_form_alter() function was called after event.module's nodeapi, so we can't modify the form elements event.module adds. I'll be solving this with a #pre_render function (should work).
Comment #2
praseodym commentedNever mind that, making the module heavier than event.module fixes it.
Comment #3
praseodym commentedInstall file for weight.
Comment #4
praseodym commentedPatch against cvs.
Comment #5
decafdennis commentedThe install file looks good and is indeed necessary.
I'll look into the patch; first impression is that there is some 'hairy' code, but I can't say this for sure right now.
To be continued.
Comment #6
killes@www.drop.org commentedevent all day has been fixed in a adifferent way.