PAGES LIVE

Calendar

The Calendar Page is a tool to publish events, so that site visitors to be informed about what is happening, and to track your company events schedule by month & year.

To add a Calendar page to your site:
  1. Go to the Editing Tools.
  2. Press Live (Php) button in Insert page section and select Calendar page.
  3. Select preferred layout preset. Calendar page has a few predefined layout presets.
  4. Set any other options you want and press OK.

Basics

The Calendar page generally consists of some or all of the following objects: calendar object, calendar events object, one or more calendar navigation objects (selection bar, range/period selection bar, viewtype bar, navigation prev/next bars) and link to administrator screen.

You can preview your Calendar page only when uploaded on a PHP enabled server. To test this functionality offline you can Install your own test server on your PC.

Use the calendar objects to design your own calender. Add/remove objects and change their position on the page.

Calendar object is the main calendar used to display the current month in 1, 3, 6 or 12 months view. If any events are defined for the period, the corresponding days are colored. In case any events are defined for certain day, a hint with list of these events will popup when you move the mouse over them.

At the top right corner of the calendar there is small calendar icon - use this icon to switch to expanded month view. In expanded month view, use the week icons to switch to expanded week view.

Events object is used to display the full event list for the current month(s), with date&time, short description and details.

Navigation objects are used for navigation between months & years.

Selection bar is used for direct selection of month & year. For example, if visitors want to check what events will be conducted in May 2007, they can use this selection bar -

Range/period selection bar is more complicated selector that can be used for period (This week, Next Week, This month, Next month etc) or range (from date to date) selection.

For example, if visitors want to check what events will be conducted this week, they can check the Period radio button, set This week period and press Go button.

If you want to directly call calendar page for certain period, use period= as parameter. Example: http://www.mysite.com/calendar.php?period=0

Use 0 for This Week, 1 for This Month, 2 for This Quarter, 3 for This Year, 5 for Next 7 Days, 6 for Next 30 Days, 7 for Next Month, 8 for Next Quarter and 9 for Next Year.

Viewtype bar is used whenever a wider look of calendar is needed: 3, 6 or 12 months view.

Navigation bars (prev/next) are used to move between months consecutively - . You also have same bars included in the calendar object.

Link to administrator will take you to the Calendar Administrator screen, where you can add/edit/delete events.

Visitors can check the event schedule, but only users with read&write access set in Administration Panel can edit the event schedule.

Events and Categories

Each event consists of Description, Category, Details, Start/End Date, Start/End Time and Location (optional). When an event is added, it is associated to a category, managed in the calendar administration panel.

Colors

Each event category has its own color setting the background color for all calendar dates for that category. For example, if the Birthday category is set to blue, all calendar dates with birthday events will have blue background.

Repeating Events

Events can be defined as one-time or repeating events. A repeating event is repeated every week, starting from event start date.

Database

This page can use either MySQL or flat file database (depending on the MySQL switch in MySQL Settings). All calendar events will be stored in a MySQL database or on the web server in flat files in ezg_data/ folder. You can add multiple calendar pages in your project, and each one will have its own database.

Calendar Settings

The Calendar page is customizable to some extent. You can set default calendar view (1, 3, 6, 9, 12 months), first day of week (Sunday, Monday). You can also customize calendar layout.

The following properties are available in the Calendar Settings panel, accessed from the Editing Tools. Make sure to configure these settings.

Notification

Layout

Events

Event Manager

RSS

Accessible Macros Fields

It is not necessary to keep all the objects that are created by default in your Calendar. If you do not need a selection object, for example, you can delete it. You can also add new objects and order them the way you like it.

Each page has Macros Fields panel, accessed via Editing Tools. This panel contains objects that you can insert on page.

 

Hiding Calendar Events table: If you want to hide calendar events object on calendar page, but still show it in admin screen, use %CALENDAR_EVENTS_INVISIBLE% macro.

Using RSS

RSS (Really Simple Syndication) allows users to subscribe to websites that have provided RSS feeds. These are typically sites that change or add content regularly, as is the situation with calendar. RSS is a great way for sharing your site updates with users that may be interested. RSS makes use of an XML code that scans the content of your calendar for updates and then broadcasts those updates to all subscribers through a feed. EZGenerator calendar page uses RSS 2.0 format for the feed.

To set RSS feed for your calendar, follow these steps:

Using Event Manager

Event Manager (EM) is an extra feature of the Calendar page.

Users with login account can register for certain events (for example, participation in some sales event), and the event manager keeps them informed by sending emails (notifications, announcements, reminders, etc). Only users with login account can register for events. This means that you either have to provide them with such account (as administrator, in Administration panel), or enable Self Registration (so that they to be able to create login account for themselves).

If you have enabled Self Registration in your site, event categories will be listed on the Self Registration form. Users choose which event categories they want to receive announcement emails for. Later, when administrator adds certain event, he can send them Event Announcement, encouraging them to register for the event. When users receive the announcement, they can use the link included and register for the specified event. After registration for event they will get a notification email with details. Administrator will receive notification copy for each registration.

In summary: the administrator defines event --> sends an announcement to registered users --> interested users register for the event --> administrator gets notification email (user also).

Few things you have to set in calendar admin screen, regarding Event Manager:

Administrator panel

In the Administrator panel you can manage your Calendar - review, add, edit and delete events.

The Administrator panel is accessible through the Administrator link (placed on the Calendar page) or via Administration panel.

To Insert an administrator link in your calendar page:

Add Event

To add event you can either use Add Event link, or click on a particular date in calendar.

In case you need to set certain event content as template, use Save as template button. Later when you add new events template content will be shown as default.

Categories

Manage categories and set the name and color.

Optionally you have two more settings.Invisible categories: If you need to design seasoning in your calendar, you can define seasoning categories and set them as invisible (by right-clicking on a category and setting it as invisible). If a category is invisible it will be displayed in the calendar object, but not in the events object. Mark: If you need to mark a category with one of the listed symbols.

Important: There is a category Multiple selection. This is not a real category and can not be used for events. Its purpose is to define the color that will be displayed in calendar when more events are defined for one single date. You can't delete this category. You can change its name and color, but it should always be placed on first position.

Settings

EVENT MANGER Settings

This option is available only if you have enabled Event Manager. You can edit mail types here. Select mail type and modify its subject & message.