The functions described on this page are part of Plugin Agenda (installed by default in the demo application Ametys).
From version 2.10.x onwards, we recommend using the search engine-based "Events Calendar" service, with its "Small Calendar" view.
Use the"Events Calendar" service to display events, news, etc. in a small calendar.
In the calendar, an event can take place over a single or several consecutive days.
Select a site page and a zone of your choice. Go to the "Add a service" menu and click on "Events calendar" to insert the calendar.
The service is configured in 2 steps:
Step 1 Research contexts :
Search contexts parameter |
Description |
Mandatory |
---|---|---|
Title |
Calendar title |
no |
Content types |
Choice of content types that can be displayed in the calendar. |
yes |
Number of months |
Number of past months (in relation to the current month) that can be viewed. |
yes |
Number of future months |
Number of future months (relative to the current month) that can be viewed. |
yes |
Research contexts : |
Enter 1 to n search contexts.
|
yes
yes
yes
|
Step 2 Display :
Parameter Display |
Description |
Mandatory |
---|---|---|
Take user rights into account |
Check this option if you want only events to which the user has access to be reported. Warning: this option disables page caching, thus degrading performance. It is not recommended on high-traffic pages, such as the home page. |
no |
Contents on the same page |
Check this box to display a summary view of events below the calendar. |
no |
Link to a page |
Link to a site page often displayed below the calendar (e.g. "View all events") |
no |
Link text |
Link label. |
no |
Display |
Choice of service rendering. |
yes |
The rendering of the calendar depends on the graphic charter. Here are 2 examples.
Displays events for the selected day |
Selecting a day opens the |