Our documentation has been relocated here, the Liferay Developer Network. Please update your bookmarks!

The Calendar widget is an updated, digitized, 3D-printed sundial. Okay, it’s really a tool for storing and sharing scheduled events. It’s a personal planner for individual users, a shared calendar for an entire site, or both at the same time. It can be used to create multiple calendars for a single Site or User, to overlay the events stored in multiple calendars for simultaneous view, to send email reminders to users, and more.

Configuring the Calendar

Once the Calendar widget is on a page, open the icon-app-options.png menu in the widget’s header and click Configuration.


Figure 1: The Setup → User Settings tab provides the options you need to get started quickly.

From the User Settings tab, customize the calendar’s default view and settings.

Time Format: Choose Locale, AM/PM, or 24 Hour. Locale is a dynamic setting that chooses whether to display the time in AM/PM or 24 Hour format, based on the preferences set by the User’s locale. AM/PM displays times such as 8AM or 11PM. The 24 Hour time format displays times such as 08:00 and 23:00.

Default Duration: Choose an event duration. When you add a new event to the calendar, the time you set here specifies how long events last by default.

Default View: Choose Day, Week, Month or Agenda. This sets the default for when the calendar is first displayed, but the view can be changed by clicking the appropriate button at the top-right of the widget.

Week Starts On: Choose Sunday, Monday, or Saturday.

Time Zone: Choose a time zone or check the Use Global Time Zone box.

If you check Use Global Time Zone, the time displayed depends on whether it’s being viewed by a logged-in user or a guest. If a user is logged in, the Calendar displays events using the time zone set for the user in User MenuMy AccountAccount SettingsPreferencesDisplay SettingsTime Zone. If the Calendar is viewed by a guest or a user who is not logged in, the Calendar displays events using the time zone set by the portal administrator in Control PanelPortal SettingsDisplay SettingsTime Zone.

From the Display Settings tab, set the display behavior for the calendar.

Display Scheduler Only: By default, the list of calendars and a mini-calendar view (used for quickly navigating to a particular date) are displayed. Check this to display only the scheduler (the large calendar view showing the calendar and scheduled events).

Display User Events: Turns off the display of the current, logged in User’s personal calendar and events.

Display Scheduler’s Header: If disabled, removes the ability to toggle through the calendar views (for example, Day/Week/Month/Agenda) and access to the Add Event button.

Enabled Views: If one of the available views is disabled (Day, Week, Month, Agenda), it disappears from the scheduler’s header.

Maximum Days to Display: Set the maximum number of days to display in the Agenda view.

Maximum Events to Display: Set the maximum number of events to display in the Agenda view.

Use the RSS tab to disable RSS subscription or configure the RSS behavior.

Enough with configuration. Next you’ll learn how to use it.

Using the Calendar Widget

The calendar widget displays a small monthly calendar showing an overview of upcoming events. A larger area shows the Scheduler, a more detailed calendar with a number of options: you can set it to...

Leer más

Calendar Resources and Porting

With calendar resources, you can invite entities other than people to your events. This is beneficial for finding the availability of important resources your event requires, like a conference...

Leer más
0 (0 Votos)
Polls Anterior