Drupal Association members fund grants that make connections all over the world.
This is a step-by-step description of setting up a Calendar view.
Why not use the Event module?
Using the Event module is perfectly acceptable, quicker/simpler way to get a basic calendar running on your site. If you need something more flexible/extensible, here's how to create a Calendar view. If you've got other differentiating factors, list them in the comments, and I'll incorporate them here.
The Calendar module has the following requirements
- Drupal 5.2 or later
- CCK 5.x-1.4 or later
- Views 5.x-1.5 or later
- Date 5.x-1.4 or later
- Calendar 5.x-1.4 or later
Install the modules
Download and extract the modules in your /sites/all/modules directory.
Go to Administer › Site building > Modules and enable:
- Date (under CCK)
- Date API (under Other)
- Views UI
Create a custom Content Type
Go to Administer › Content management > Add Content Type
- Name=Performance (or "event" or "meeting" or whatever you want to call it)
- Description = Sing, Sing a song...
- Whatever you prefer for the rest of the form
- Save the Content Type
Edit the content type again and then select Add field
- Name = Time
- Click "Create Field" and you'll be taken to second form
- Label = Time
- Help Text = whatever
- Under Data settings:
Multiple Values: not checked
- Input Options
Granularity: Year,Month,Day,Hour, Minute (but not second) selected
To Date: Optional
- Click Save Field Settings
Create a node
Create content > Performance
- Title = Check your calendar
- From Date = This Friday at 3:00pm
- To Date = blank
- Body = Hope I'm doing something fun this weekend
- Click Submit
Modify the default Calendar view
Go to Administer › Site building > Views and you should have a Calendar View
- The info under Basic Information, Page, and Block are all fine.
- Under Fields delete the Node: Updated Time
- Then under Add Field, select Date:Time and click Add Field
- Next to Time Field, Label can be blank, Handler needs to be Do Not Group Multiple Values
- Arguments can all be left alone
- Under Filters ... Add Filter, select Node: Type and click Add Filter
- Operator = Is one of. Value = Performance
- Exposed Filters can be left alone
- Under Sort Criteria, delete Node: Updated Time, and under Add Criteria, select Date: Time (field_time) and click Add Criteria button. Leave the Order Ascending
Click Save and you're back at the Administer › Site building > Views. You should see the default calendar view with an Overridden status. And at the top will be your new calendar view that uses your CCK node called Performance
Click on the link under URL and you should see your performance on the correct day. If everything looks OK, go back and edit the view again and in the Page > Menu section, check Provide Menu. By default, the menu link will appear in the Navigation menu, but you can move it wherever by going to Administer > Site Building > Menus.