Xataface Calendar Module 0.1
Full Calendar for Xataface
Installation

Return to Table of Contents

Installation

Step 1 Copy into modules directory
After downloading the calendar directory, copy it into the modules directory of your application. It should be located at
%APPLICATION_PATH%/modules/calendar
Step 2 Enable the Module In the conf.ini file
Once the calendar module is in place, you just need to tell your application to use it by adding the following to the [_modules] section of your conf.ini file:
[_modules]
    modules_calendar=modules/calendar/calendar.php
Step 3 Configure Tables
The Calendar widget relies on two main fields.ini file configuration options to interpret records as events that can be rendered in the calendar:
  1. event.start
  2. event.end

A field that represents the start date/time of an event should include

event.start=1

In the fields.ini file field definition. A field that represents the end date/time of an event should include

event.end=1

in the fields.ini file field definition.

Step 4 Try it Out
If you load your application in your web browser you should now notice a "calendar" tab in the set of table tabs (i.e. along side "details", "list", and "find").
Screen_shot_2011-11-29_at_3.16.40_PM.png?max_width=640

If you're using the new Xataface 2.0 look and feel, you'll instead see a "View" menu in the top left with "Calendar" now as one of the options:

Screen_shot_2011-11-29_at_3.16.13_PM.png?max_width=640
 All Data Structures Files Functions Variables