Installing Calendar Module
http://drupal.org/project/calendar
Under DATE/TIME in Module list activate Calendar. There is a good video on this here: http://vimeo.com/26853285
Creating Events Content Type
Now we are finally ready to setup our event content type.
Also note – debugging Calendar / Date problems: http://drupal.org/node/755312
Go to Structure and then Content Types
Home » Administration » Structure
Content types
Click on Add Content Type
Home » Administration » Structure » Content types
Figure 14
For Name Event
Description Church event or meeting
For Submission form settings:
For Title enter Name (for Event Name)
Enter any event guide lines you would like to add in the Explanation or submission guidelines text box.
Figure 15
For Publishing options:
Uncheck Promoted to front page
Figure 16
For Display settings:
Uncheck Display author and date information (just to keep it clean)
For Comment settings:
Set Default comment setting for new content to Closed in the drop down.
Uncheck Threading
Uncheck Allow comment title
Uncheck Show reply from on the same page as comments
Figure 17
For Menu settings:
Uncheck Main menu (we don’t need the content type showing up on menus).
Figure 18
Image: Admin_Structure_ContentTypes_MenuSettings1b
For group content type
Check the Group content type – make sure Group radio button is set to Not a group type,
Figure 19
For Signup settings
Set to Allowed (off by default)
Figure 20
Click Save and add fields button.
Adding Fields to Event Type
Location
Now we need a field to enter a location (we will add a location content type later and change this to select a location from a drop down.)
Enter Location” as the field Label and location as the Field Name
Select Text data type and widget of Text Field.
Figure 21
Date Field
If not at the manage field area for Events from above, you get back to this area by going to
Admin
Home » Administration » Structure » Content types » Event
Event (Machine name: event)
Church event or meeting
Select Manage Fields
Add new field
For name (first field): Time
Field_ time
Type of data to store Date (ISO format)
Form element to edit the date Pop-up calendar
Figure 22
Time Field Settings
Now set up the options for the new time field.
Figure 23
Repeating date Yes
Date attributes to collect Make sure Month, Day, Hour and Minute are selected.
Collect an end date Check this box to allow an end date for multi date events
Time zone handling Site’s time zone
[Click on Save field settings] button
This will bring up the field configuration page where most values will already be what we need them to be but will require some changes.
Figure 24
Click on the More Settings and Values blue heading to expand the choices
Time Field Settings – Date Entry
Confirm the Date entry options displays in the format you would like (it should be correct based on the initial set up) – See figure above
Make sure Display all day checkbox is set if you want to allow all day events (recommend)
Figure 25
Time Field Settings – Default Values
In the Default Values for date entry:
Default date Now
Default end date Same as Default date
Figure 26
Click on Save Settings