Attached is a gzip file that contains a complete port of the event module for drupal 5.0 rc1.

CommentFileSizeAuthor
event-5.0-rc1.tar.gz172.52 KBswood

Comments

t.a. barnhart’s picture

i know i'm mixing versions here, but i'm desperate. i tried Event 5.0rc1 with D5.0, and got mixed results.

the calendar works.
the supplied Event content type works

i cannot make my own content type that works with it. the "use with calendar views" buttons are there, but when you try to create an event, you do not get the date/time selectors.

i can use the generic Event for a while, but CCK-based events are necessary.

pretty please with sugar on top. thanks.

massimoi’s picture

Assigned: Unassigned » massimoi
Category: support » bug
Status: Active » Reviewed & tested by the community

I've found two small bugs in rc1:

The month and hour select list are RESET on Edit (in 24hrs format) because of PHP date() settings.

You should replace the following lines of event.module
line 1437 should read: $hour_format = t('G'); //replace 'H' with 'G'
line 1454 should read: '#default_value' => _event_date('n', $timestamp, $offset) //replace 'm' with 'n'

sun’s picture

Status: Reviewed & tested by the community » Needs work

Patch seems to need work.

sun’s picture

http://drupal.org/node/93988 has been marked as duplicate of this issue.

sun’s picture

Status: Needs work » Closed (duplicate)

Marking as duplicate of http://drupal.org/node/109982.

Sorry for spamming. Event issue queue is quite messed up.