Dodatak omogućuje:
- upravljanje događajima,
- povezivanje aktivnosti s događajima,
- booking management,
- a calendar, with events for calendar applications,
- a public page listing the events you publish.
Instalacija
Najprije preuzmite dodatak:
Raspakirajte preuzetu arhivu u Galetteovu mapu plugins. Primjerice, na Linuxu
(zamijenite {url} i {version} odgovarajućim vrijednostima):
$ cd /var/www/html/galette/plugins
$ wget {url}
$ tar xjvf galette-plugin-events-{version}.tar.bz2
Inicijalizacija baze podataka
Dodatak zahtijeva nekoliko tablica u bazi. Pogledajte sučelje za upravljanje dodacima Galettea.
Gotovo; dodatak Events je instaliran :)
Uporaba dodatka
Nakon instalacije u izborniku prijavljenog korisnika pojavljuje se odjeljak
Događaji. Dostupne mogućnosti ovise o korisnikovoj ulozi: obični član,
voditelj grupe, administrator i slično.
Aktivnosti
Možete definirati proizvoljan broj aktivnosti i povezati ih s događajem. Aktivnost može biti organizirani izlet, obrok, smještaj i slično.

Aktivnost sadrži naziv, status i neobveznu napomenu.
Za dodavanje aktivnosti kliknite poveznicu „Nova aktivnost”:

Događaji
Događaji su središnja funkcija dodatka. Možete zadati naziv, datume početka i završetka, lokaciju i druge podatke.

Naziv, datum početka i mjesto obvezni su. Ostali podaci nisu obvezni.
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.
Napomena
Group managers do not get this choice: they must choose one of the groups they own, and cannot publish events.
Događaju možete pridružiti jednu ili više aktivnosti i za svaku odrediti je li dostupna, nedostupna ili obvezna. Odaberite aktivnost i kliknite gumb.

Upozorenje
Dodavanje ili uklanjanje aktivnosti ponovno učitava stranicu i traži unos obveznih podataka. Međutim, događaj se tijekom toga ne sprema, na što se svaki put upozorava.
Ne zaboravite spremiti događaj :)
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).
Upozorenje
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.
Rezervacije
Za svaki događaj možete bilježiti rezervacije. Kao što je navedeno, obični članovi i voditelji grupa imaju pristup događajima svojih grupa i događajima bez ograničenja na grupu.
Novu rezervaciju možete dodati putem stavke „Nova rezervacija” ili popisa rezervacija događaja.

Rezervacije se zatvaraju kad je događaj označen kao zatvoren ili kad prođe datum početka. Administratori i uprava uvijek mogu dodati rezervaciju.
Popis aktivnosti preuzima se iz događaja. Obvezne aktivnosti morate označiti pri rezervaciji.

Rezervacije možete filtrirati prema događaju, načinu plaćanja ili statusu plaćanja. Zatim možete poslati skupnu poruku članovima s rezervacijom putem uobičajenog Galetteova sustava.
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.