This Cookbook shows, how you can have some different Event-types in one Event-Calendar for Drupal 7 (http://drupal.org/node/1477602). The Event-calendar shows every user only the for his role(s) allowed Event-types. You can use this e.g. to differ in internal, administrative and public Events.
Step 1: Build the Event-types
- If not enabled, (download, install to your modules-path like
sites/all/modulesand) enable the Module "References" (http://drupal.org/project/references).
- If not enabled, download and install the Content Access module http://drupal.org/project/content_access
- On the first event-type, you create a Date-field.
- Configure the Date-field suitably (especially set "Time zone handling" to "No time zone conversion" ), before you use an Event-type by adding content. After adding content to one Event-type, you cannot change the setting of these Date-fields.
- On the next Event-type Add existing field, select the Date-field you created from the "Field to share" popup. The Label doesn't matter.
- And so on for the next event-type.
- Visit '
http://example.com/admin/structure/types/manage/<your event type>/access' and set the permissions for an event-type.
In the module Calendar you have only ONE date-field from several event-types (and no problems in the calendar).
Step 2: Add one or more events per Event-type
Click several times on "Add content" in the Navigation-menu, select the Event-type, add Title, Date/Time and Body as you like, Click on "Save".
Step 3: View the event-calendar
Login as an (test-)user from another user-group to view the visible events.