Este plugin oferece :
- gestão de eventos,
- associar atividades a eventos,
- booking management,
- a calendar, with events for calendar applications,
- a public page listing the events you publish.
Instalação
Primeiramente, baixe o plugin:
Extraia o arquivo baixado no diretório plugins do Galette. Por exemplo, no
Linux (substituindo {url} e {version} pelos valores corretos):
$ cd /var/www/html/galette/plugins
$ wget {url}
$ tar xjvf galette-plugin-events-{version}.tar.bz2
Inicialização do banco de dados
Para funcionar, este plugin requer várias tabelas no banco de dados. Consulte Interface de gerenciamento de plugins do Galette.
E está concluído; o plugin de eventos está instalado :)
Plugin usage
Quando o plugin é instalado, um grupo Eventos é adicionado ao menu Galette
quando um usuário faz login. Existem várias possibilidades que mudam dependendo
do perfil do usuário (membro simples, gerente de grupo, administrador, etc.).
Atividades
Você pode definir quantas atividades quiser e associá-las a um evento. Uma atividade pode ser uma viagem organizada, uma refeição, uma hospedagem, etc.

Uma atividade é composta por um nome, um status e um comentário opcional.
Para adicionar uma nova atividade, basta clicar no link “Nova atividade”:

Eventos
O principal objetivo do plugin são os eventos. Você pode definir diversas informações, como nome, datas de início e término, local, etc.

Nome, data de início e cidade são obrigatórios. Todas as outras informações são totalmente opcionais.
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.
Você pode associar uma ou várias atividades a cada evento e, para cada uma, definir se ela está disponível, indisponível ou obrigatória. Escolha a atividade que deseja adicionar e clique no botão.

Warning
Adicionar ou remover uma atividade de um evento recarregará a página e solicitará que você preencha informações obrigatórias. No entanto (e isso é especificado em cada caso), o evento não será armazenado durante essa operação.
Não se esqueça de salvar o evento :)
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.
Reservas
É possível fazer reservas para cada evento. Como já mencionamos, membros simples e gestores de grupos terão acesso limitado aos eventos de seus respectivos grupos, ou seja, aos eventos que não são restritos a um grupo.
É possível adicionar uma nova reserva através do menu “Nova reserva” ou na lista de reservas de eventos.

As reservas são encerradas assim que o evento é marcado como encerrado ou quando a data de início termina. Administradores e funcionários podem sempre adicionar novas reservas.
A lista de atividades é obtida a partir do evento; as atividades obrigatórias devem ser selecionadas no momento da reserva.

Você pode filtrar a lista de reservas por evento, tipo de pagamento ou status do pagamento. Em seguida, você pode enviar um e-mail aos membros que fizeram reservas, usando o mecanismo de e-mail padrão do Galette.
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.