Creating an "Office Holidays" calendar is a good start. Within that calendar you would create your holiday "events" in the "Calendar: Events" channel.
If you're looking to list the upcoming holidays as a list, you can use {exp:calendar:cal}
. Don't forget to use calendar_id=""
or calendar_name=""
is you just want to display events within your "Office Holidays" calendar:
{exp:calendar:cal
calendar_id="1"
date_range_start="today"
date_range_end="+6 months"
pad_short_weeks="n"}
{events}
Holiday "{event_title}" on {event_start_date format="%Y-%m-%d"}<br />
{/events}
{/exp:calendar:cal}
You can also create a calendar table using {exp:calendar:cal}
(see the advanced example for a monthly calendar here), then use
{if day_event_total > 0}Holiday!{/if}
...within the {display_each_day}{/display_each_day}
tag pair to label days with holidays. Make sure the {events}{/events}
tag pair is also present in the {display_each_day}{/display_each_day}
tag pair.