您在這裡

Event 模組

下列的模組幫你建立跟管理活動跟行事曆。
假如你正規劃顯示一系列的活動,活動通常包含下列的資訊或欄位
- 活動的標題
- 活動的開始日期,時間
- 活動地點
- 活動的描述
- 活動的結束日期,時間

Drupal 6.x 在使用強大的日期/時間處理跟格式化的模組時可以提供功能強大地活動事件列表,在大多數情況下在Drupal 6.x中你不需要特殊的Event模組除非你要建構特殊的專案管理或是時間管理程式。

要開始新增及佈署活動事件,通常你可以開使用下列的模組(很多還都是熱門的):

- CCK
Date/Time模組 - Date API、Date、Calendar、Date Locale、Date Timezone、Date Tools
- Views - Views UI、Views

- jQuery UI(註:需先閱讀Readme.txt,因為還需下載jquery ui的函式庫:jquery.ui-1.6.zip,之後解壓縮在這個模組資料夾內,使用unzip jquery.ui-1.6.zip,再將jqery.ui-1.6的資料夾更名為jquery.ui,使用mv jquery.ui-1.6 jquery.ui)

A quick way to get started with simple events is to create a Content Type called Event and add the fields you need such as start date, end date, and location to this specific content type.

You'll also want to create a few custom date/time formats apart from the standard Long, Medium, Short date formats. For example, you can create the following additional date/time formats which you will reuse later when listing events for example
- DateOnly (shows you the date without time i.e. 15 Jan 2011)
- DayOnly (shows you the day only, i.e. Sat)
- TimeOnly (shows you the time only, i.e. 8.00 am)
For this, see also Date/Calendar Modules.

Combining this 3 additional date formats lets you manipulate how event time is displayed in a variety of scenarios (in a Block or on a Page view). This should be enough to get you started with your own Event node types and customized views and blocks in Drupal 6.x.

As you get more confident, and you decide to add more complexity to your simple events listing, i,e, recurring events (this event repeats every Monday at 8 am), try adding the Date Repeat API module. Complexity may not be a good thing, but its worth a try if you're adventurous.

See also Action Modules.