Calendar:Week template tag
The Calendar:Week tag handles "week-based" formatting and displays an event list for a specified week, or the current week.
For performance reasons, please be sure to update any Calendar template tags to use the channel="my_channel|my_other_channel"
parameter, similar to how you would do it for {exp:channel:entries}
. The demo templates don't include this by default since there's no automated way of knowing which channel(s) you're using.
{exp:calendar:week} content {/exp:calendar:week}
Parameters
author_id=
author_id="1"
This parameter allows you to filter down the event results by the author of the Calendar event entries. You can hardcode a member ID, pass it through an embed, or grab it from the URI. You can also use CURRENT_USER to display event entries for the currently logged in user. Separate multiples with the pipe character.
calendar_id=
calendar_id="1|3"
This parameter allows you to display specific calendars by specifying their ID(s). You can hardcode a calendar ID, pass it through an embed, or grab it from the URI. Separate multiples with the pipe character.
calendar_short_name=
calendar_short_name="soccer|baseball|dodgeball"
This parameter allows you to display specific calendars by specifying their short names. You can hardcode a short name, pass it through an embed, or grab it from the URI. Separate multiples with the pipe character.
category=
category="22"
This parameter allows you to filter down the event results by the category ID assigned to calendar event entries. You can hardcode a category ID, pass it through an embed, or grab it from the URI. Separate multiples with the pipe character.
channel=
channel="baseball"
This parameter allows you to filter down the event results by the channel of the calendar event entries. You can hardcode a channel short name, pass it through an embed, or grab it from the URI. Separate multiples with the pipe character.