How to Use the Calendar with CQ WCM


Creating a new calendar

To create a new calendar:

  1. Open the CQ WCM siteadmin.

  2. Navigate to the folder or website where you want to add the calendar template.

  3. Select the New menu.

  4. Select New Page.

  5. In the Create Page window, enter a Title for your new page and the Name if you do not want the default.

  6. Select the Calendar Template.

  7. Select Create to create the new calendar page. The new calendar page is listed in the siteadmin window.

Creating Events

You can create events that last hours or indicate that an event is all day.

To create an event:

  1. In Month or Agenda view, double-click the date that you want to enter an entry for. The Create Event window opens.

  2. In the Summary field, enter a descriptive name for the event. In the From and To fields, enter the appropriate start and end times. If the event is an all-day event, select the Full-day check box instead of entering times. Optionally, add a description.

  3. Click Save. The event appears on your calendar.

Importing Events from another Calendar

You can import events from another web-based calendar into your CQ WCM calendars using the polling importer. You can import either a public calendar or a private calendar. If you import a private calendar, you need the private ics URL. Calendar URLs are generally available within a calendar's settings. Check the documentation for your calendar application for more information.

[Note]Note

You need to enter at least one event into the calendar before you can import events from other calendars. If all of your events come from other calendars, work around this issue by creating a dummy event, importing your events from the other calendar, and then deleting the dummy event.

To import events from another calendar:

  1. Navigate to the Tools window.

  2. In the Tools window, expand the Importers folder and double-click the Feed Importer.

  3. Click Add to open the New Importer Configuration window.

  4. In the Feed URL, enter the source url for the calendar data. The format is ics:<URL_OF_ICS_FILE>, for example, ics:http://server.com/path/to/calendar.ics.

  5. In the Import to Path field navigate to the calendar you created and then navigate to /jcr:content/calendar/calendars/default. (You can also paste the path into the field.) For example, for a page created in /content/calendar.html the import path is /content/calendar/jcr:content/calendar/calendars/default.

  6. In the Update Interval in Seconds field, enter a time in seconds. The minimum is 300 seconds. The first import of calendar information happens after the time you specify (you do not see content import until after the specified time).

    [Note]Note

    The minimum can be reconfigured in the OSGi interface to less than 300 seconds, but reconfiguring the minimum is only recommended for testing purposes.

  7. Click OK. Your import configuration is stored.

  8. Navigate to your calendar. After the specified interval, imported data appears on the calendar.

Customizing a Calendar

Anytime after you have created a calendar, you can customize it.

To customize a calendar:

  1. Navigate to the calendar and double-click to open it.

  2. By default, the calendar template includes a query builder for fulltext searching and lens views, which are different ways to view the calendar information. To edit those, click Edit for the appropriate component.

Switching Between Agenda and Month Views

In the calendar template, you can switch between the agenda and month views (provided you have included them in your template).

To switch views in the calendar template, click the appropriate button.

For example, clicking Agenda displays the agenda view and clicking Month displays the month view. An example of a month view:

Navigating Dates

To navigate months, click the left and right arrows above the calendar. To move to today, click the Today button.

Modifying and Deleting Events

To modify or delete any event:

  1. In the calendar, double-click the event you want to modify or delete. The Edit Event window opens.

  2. If you are editing the event, make your changes and click Save. If you are deleting an event, click Delete.

Filtering Events

You can filter events within the current month. For example, to see only those items that have the word "staff" in them, you can use a filter.

To filter events:

  1. In the Query builder, type the term you want to filter against. (This is the keyword that CQ WCM looks for in the calendar).

  2. Click the magnifiying glass to apply the filter. All other calendar events are hidden.

  3. Remove the keyword in the Query Builder and click the magnifying glass to remove the filter. All events are displayed.