EE 2.8.1 Calendar 1.8.6
I want to only display the first occurrence of each repeating event.
Right now I have a list of all events always displaying the next upcoming occurrence.
{exp:calendar:cal calendar_id="{embed:calendar_id}" event_limit="{embed:event_limit}" date_range_start="today" show_months="6" pad_short_weeks="n" dynamic="off"}
<li><a href="{path='events/event'}/{event_id}/">{event_title} - Details >></a> {event_start_date format="%F %j, %Y"}
{if event_summary}<br />{event_summary}{/if}
{if event_location}<br />Location: {event_location}{/if}
{if event_cost}<br />Cost: {event_cost}{/if}<br /><br />
</li>
{if no_results}
<li>No events could be found within the specified time range for this Calendar.</li>
{/if}
{/exp:calendar:cal}
calendar_id=""
andevent_limit=""
are parsed correctly (i.e. are not showing{embed:...}
). In particular, make sure you haveevent_limit="1"
to show 1 event. Lastly, does your event start "today" or a date before that? In other words, is your first event before "today"?