Events
What you can insert into a template from the “Events” module: blocks and lists with parameters and examples.
Coming up — events.home
Upcoming events on the home page: date, title and place, nearest first. Kind: block; works on any page.
Example:
{block:events.home}Past events (list) — events.past
A list of past events for your own markup: title, address, date, place, price, picture, excerpt. Kind: list for your own markup; works on any page.
| Parameter | Meaning | Default |
|---|---|---|
limit | How many to show. From 1 to 20. | 5 |
sort | Order: date — by date, added — recently added first Values: date, added. | date |
Inside the list: {item.id} {item.title} {item.url} {item.date} {item.day} {item.month} {item.time} {item.place} {item.address} {item.price} {item.excerpt} {item.cover} {item.cover_large} {item.reg_open} {item.online} {item.cancelled} {item.state_text}.
Example:
[each:list:events_past:limit:5]
<a href="{item.url}">{item.title}</a> — {item.date}
[/each]Upcoming events (list) — events.upcoming
A list of the nearest events for your own markup: title, address, date and place. Kind: list for your own markup; works on any page.
| Parameter | Meaning | Default |
|---|---|---|
limit | How many to show. From 1 to 20. | 5 |
sort | Order: date — by date, added — recently added first Values: date, added. | date |
Inside the list: {item.id} {item.title} {item.url} {item.date} {item.day} {item.month} {item.time} {item.place} {item.address} {item.price} {item.excerpt} {item.cover} {item.cover_large} {item.reg_open} {item.online} {item.cancelled} {item.state_text}.
Example:
[each:list:events_upcoming:limit:5]
<a href="{item.url}">{item.title}</a> — {item.date}, {item.place}
[/each]Обновлено 16.10.2026
Пока никто не высказался. Будьте первым.