If you are unaware, there is already an module for handling events. If you are interested in event type nodes, you will want to contribute to that project instead of making changes to the core. Fab Psycho wrote:
Hi,
Here's a patch adding event management to nodes against 4.6.1 Ok, it's my very first drupal patch so I'd be glad if you could help me making this sound professional :)
URL : http://www.deepbass.net/~fabian/drupal/drupal4.6.1ff1.diff
Features : +-pushbutton, bluemarine style fix for events +-add event display to archive module +-mysql & pg fix for events +-add events to node_form +-add events to node_save (node_module : node_page->switch op -> node_submit($_POST['edit']) -> node_save) +-add events div in drupal.css +-node_validate additions for events +-node_form->form_textfield->common.inc->_form_get_error($name)
Result : -User can add start & end date for an event related to a node -special tip is displayed to related dates in archive module.
Remains: archive calendar doesn't display future :( someone could synch this ?
Best regards, FabF
_________________________________________________________________ Protégez votre boîte de réception: Phishing : comment l'identifier, le signaler et l'empêcher http://www.fr.msn.be/security/phishing/