Drupal Calendar

From Colettapedia
Jump to navigation Jump to search
  1. turn on modules
    1. drupal 6.9
    2. CCk module
      1. Content
      2. Number
      3. Option Widgets
      4. Text
    3. date API
    4. date module
    5. date timezone
    6. calendar
    7. and all the views
    8. datephp4 if you are on less than php 5.2
  2. check config of date module
    1. Set default time zone
  3. manage fields for event: Administer->Content Management-> Content Types->Event->Edit/Manage Fields
    1. New field name: Date
    2. key: field_date
    3. type: date
    4. select list for simplicity
    5. do configuration
  4. Enable Permissions: admin/user/permissions, and configure for date and event
  5. create a bunch of date nodes
  6. display information: create a view to display nodes as a calendar
  7. edit the date_browser view
    1. defaults tab-> basic settings-> style: change from unformatted to calendar
    2. fields: click '+' sign to add fields:
      1. Node: Title (remove label and click link-to)
      2. Content: date (the first value) (also link-to node, no label, exclude label from display)
    3. In arguments, click on date link ... change Date fields to "Content: date" from updated date
    4. Save the view