This plugin provides:
- events management,
- associate activities with events,
- booking management,
- a calendar, with events for calendar applications,
- a public page listing the events you publish.
Installation
First of all, download the plugin:
Extract the downloaded archive in Galette plugins directory. For example, under linux (replacing {url} and {version} with correct values):
$ cd /var/www/html/galette/plugins
$ wget {url}
$ tar xjvf galette-plugin-events-{version}.tar.bz2
Database initialisation
In order to work, this plugin requires several tables in the database. See Galette plugins management interface.
And this is finished; Events plugin is installed :)
Plugin usage
When the plugin is installed, an Events group is added to Galette menu when a user is logged in. There are various possibilities that change depending on user profile (simple member, group manager, administrator, …).
Activities
You can define as much activities as you want, and associate them to an event. An activity may be an organized trip, a meal, a housing, …

An activity is composed with a name, a status and an optional comment.
To add a new activity, just click on “New activity” link:

Events
Events are the main goal of the plugin. You can define several information, like a name, begin and ending dates, location, …

Name, begin date and town are mandatory. All other information are entirely optional.
The Summary presents the event in a few words, in lists and on public pages; when it is empty, the beginning of the comment is used instead. The Comment is shown in full in the event details.
The When part sets the dates and times of the event. Check All day for an event without times: time fields are then hidden, and times typed before are ignored. Otherwise, times are optional as well:
- No begin time: the event lasts all day long, from its begin date to its end date,
- Begin time only: the event is shown at its begin time, without end,
- Begin and end times: on a single day, the end time cannot be before the begin time.
An end time without begin time is refused. Displayed as shows, while you type, the period as it will appear in lists, in the calendar and on public pages.
Note — Times, summary and the “Who can see it” choice appeared in version 2.4.0.
The Who can see it part sets who has access to the event:

- Every member: the event is available for all members,
- A group: only members and managers of the chosen group (and of its subgroups) will have access,
- Public: the event is available for all members, and is also published on Galette public pages, see Public events.
Note
Group managers do not get this choice: they must choose one of the groups they own, and cannot publish events.
You can attach one or several activities to each event, and for each one set if it is available, not available or even mandatory. Choose the activity to add, and click the button.

Warning
Adding or removing activity from an event will reload the page and ask you to fill mandatory information. Nonetheless (and this is specified each time), the event will not be stored during this operation.
Ensure you save the event :)
From Events list, you can edit or remove entries, access to booking list, export bookings as CSV, or download the event for calendar applications. The date column shows the whole period of the event, with its times when it has some.

Calendar
The Calendar entry of the menu displays the events you can see, by month or as daily, weekly and monthly lists. For members, it also shows past and closed events, that the events list leaves out. Click on an event to get its details:

From there, you can edit the event (if you are allowed to), add a new booking, or download the event.
Calendar applications
Events can be added to calendar applications, such as Thunderbird, Google Calendar, Outlook or the calendar of your phone, using the iCalendar format (.ics files).
Note — Added in version 2.4.0.
Download an event
Use the download icon of the events list, or the Download button of the event details in the calendar. You get a .ics file to open or import in your calendar application. It contains the dates and times of the event, its location, its comment, the activities it offers, and a link to book it.
A downloaded event is a copy: it will not change in your calendar application if the event is changed in Galette. Download it again, or subscribe instead.
Subscribe to events
A subscription keeps your calendar application up to date by itself. Use the Subscribe button of the calendar page: it adds the subscription in your default calendar application. The first time, it creates your personal subscription address.
The arrow next to the button gives other options:

- Copy my subscription address, to add it by hand as a calendar subscription (sometimes named “calendar from the Internet”, or “new calendar from URL”) in your application,
- Change my subscription address…, see below,
- How to subscribe? explains how to subscribe from the most common calendar applications:

The subscription contains the same events as your calendar: events that are not restricted to a group, the ones of your groups, and the ones you have booked, closed ones included. Events ended for more than a year are left out. Texts are in your language.
Calendar applications refresh subscriptions on their own schedule; Galette asks for every hour, but some applications refresh less often (Google Calendar may take up to a day).
Warning
The subscription address is personal: anyone who knows it can see your events, without login. If it has been disclosed, use Change my subscription address…: once you confirm, the previous one stops working at once, and you will have to subscribe again with the new one.
The address stops working as well when the member account is disabled. Super administrator, who is not a member, has no subscription.
Times and time zone
Times are given to calendar applications in universal time (UTC), converted from the time zone of the server: each application then displays them in its own time zone. If times are shifted in calendar applications, the PHP time zone (date.timezone setting) of the server is probably not the one of your association; ask your host or administrator to fix it.
Bookings
Bookings can be registered for each event. As we said before, simple members and groups managers will be limited to their groups events, or to the events that are not restricted to a group.
Adding a new booking can be achieved from the menu “New booking” or from the event bookings list.

Bookings are closed once the event is marked as close, or when the begin date is over. Administrators and staff members can always add new bookings.
Activities list is retrieved from the event; mandatory ones must of course be checked during booking.

You can filter bookings list per event, payment type or payment status. You can then send a mailing to booked members, using the standard Galette mailing mechanism.
Public events
Events can be shown to people who are not logged in, on a public page, with a subscription for calendar applications that requires no account.
Note — Added in version 2.4.0.
To publish an event, choose Public in the Who can see it part of its form. Only events that are not restricted to a group can be public: an event limited to some members cannot be shown to anyone. Group managers, who must choose one of their groups, cannot publish events.
When public pages are enabled, the public pages menu gets an Events entry, that lists upcoming public events by month, with their dates, town, summary and activities; bookings and attendees are never shown. The Calendar button displays them in a calendar instead; the page remembers your choice.

Click on an event name to get its details: full address with a link to a map, comment, and activities. Add to my calendar downloads the event for calendar applications, without any account.

The Subscribe button adds all public events to a calendar application, and keeps them up to date; its arrow lets you copy the subscription address, or explains how to subscribe. This address is not personal: it is the same for everyone.
Who can see this page and its subscription is set with the other public pages visibilities, from Galette settings: the Events setting follows the default visibility unless you change it. See who can see public pages.