{exp:calendar:cal
{if freebie_2 != "month"} category="{freebie_2}" {/if}
{if freebie_5 != ""} category="{freebie_5}" {/if}
{if freebie_3 == ''}date_range_start="year-month-01" date_range_end="year-month-last"{/if}
{if freebie_3 != ""}date_range_start="{freebie_3}-{freebie_4}-01" date_range_end="{freebie_3}-{freebie_4}-last"{/if}}
{display_each_month}
|
Prev
|
{date format="%F %Y"} |
Next
|
|
{display_each_day_of_week}
{day_of_week} |
{/display_each_day_of_week}
{display_each_week}
{display_each_day}
{if day_in_current_month}
{if:else}
| {date format="%j"}
{/if}
{display_each_hour}
{events}
{if event_multi_day}
{if:else}
{exp:eehive_hacksaw chars="50" append=".."}{event_title}{/exp:eehive_hacksaw}
{if event_all_day == ''}
{event_start_date format="%g"}
{if event_start_minute > 0}:{event_start_minute}{/if}
{if event_end_time != event_start_time && event_end_time != '00:00'}–{event_end_date format="%g"}
{if event_end_minute > 0}:{event_end_minute}{/if}
{event_end_date format="%a"}
{if:else}
{event_start_date format="%a"}
{/if}
{/if}
{/if}
{/events}
{/display_each_hour}
|
{/display_each_day}
{/display_each_week}
|
{/display_each_month}
{/exp:calendar:cal}
{exp:channel:categories channel="calendar_events" category_group="4" style="linear" show_empty="no"}
{if count == 1}
{/if}
- {category_name}
{/exp:channel:categories}
{if total_results == count}
{/if}