Installation

Before you start, make sure that you have at least MySQL v4.

If you previously used Event Calendar version 3.0, then you may have hacked in a change to WordPress’ classes.php file. You don’t need the hack any more. Restore your WordPress files to their original state before installing Event Calendar version 3.1.

1. Upload to your plugins folder, usually wp-content/plugins/
The plugin is in the form of a directory called eventcalendar3.

2. Activate the plugin on the plugin screen.
Don’t try to view your blog yet. First you must…

3. Change settings on the ‘Plugins > Event Calendar’ options screen. [details]
You must choose which WordPress category to use for events. (Viewing the options screen for the first time also sets up the database, and upgrades events from older versions of EventCalendar.)

4. Add the Event Calendar or Upcoming Events list to your sidebar.

If you use the WordPress Widgets, then the Event Calendar is available as an easy to install widget. In order to use it you must first activate the “Event Calendar Widget” plugin.

If you use the K2 template then the Event Calendar is available as a sidebar module.

Otherwise, you need to make a small adition to your template. Add the following code to your sidebar.php:

Event Calendar:
<li>
  <?php ec3_get_calendar(); ?>
</li>

Upcoming Events:
<li>Events
  <?php ec3_get_events(5); ?>
</li>

If you are using an older template, then you should check that your HTML header contains the following tag: <?php wp_head(); ?>

Caution: The Event Calendar must be unique. If you try to show more than one calendar on a page, then only the first will be displayed.

[Full details on template functions.]