Displaying events

Good Eatin' Goal: Display events on the site in various formats including a block of upcoming events, a table of events, and a calendar of events.

Additional modules needed: Event (http://drupal.org/project/event).

Basic steps

The Event module provides several methods for allowing customers to view events. We will explore each of these in turn.

_Chapter 6

1. The easiest way to allow visitors to browse events is by using the event page, which is accessed by at http://yoursite.com/event. The page appears as follows:

2. If you want the user to be able to access this page without knowing the URL in advance, you can create a menu item for the page. Open the Menu Manager by selecting on Site building and then menus, from the Administer menu.

3. Select the menu that you want to add to the menu item and then click the

Add item tab.

Newsletters and Calendars

4. Enter the information about the new menu item, as shown in the following screenshot, and then click Save when you are satisfied.

5. The second method of presenting events to users is by using the upcoming events block. To add this, open the Blocks Manager by selecting Site building and then Blocks, from the Administer menu.

6. Set the region for the List of upcoming events to Right sidebar.

List of u pcom i rig events.

Right sidebar configure

_Chapter 6

7. The new block will appear as follows:

8. The final method of displaying calendar entries is a block showing upcoming events in a calendar view. To add this block, open the Block Manager by selecting Site building and then Blocks, from the Administer menu. Set the region for Calendar to browse events to Right sidebar.

•f. Calendar to browse events.

Right sidebar v configure

9. The display for the calendar will appear as follows:

Everts

August 2Q(

)G»

Sun

Mon

Tue

Wed

Thu

[Fhj

Sat

ij

2

3

4

5

6

7

a

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

23

29

30

31

You can decide which of these methods to use for your own site, based on how the user will work with your site.

Newsletters and Calendars

0 0

Post a comment