I have a site running Solspace Calendar and am having trouble displaying certain occurrences that have been edited by my client.
My 'event2' template displays properly for one-off events as well as recurring events where an occurrence has not been altered. But when my client edits a specific occurrence of a recurring event (like a promotional image or adding a different price, for example), the {exp:calendar:occurrences} tag does not return ANY information.
• Example of one-off event displaying correctly: http://clubomgsf.com/calendar/event2/cake/2015/01/16/
• Example of recurring event whose occurrence has not been edited after creating the recurring event: http://clubomgsf.com/calendar/event2/nsa1/2015/01/13/
• Example of a recurring event whose occurrence has been edited and thusly does not return any data: http://clubomgsf.com/calendar/event2/nsa5/2015/01/06
Is there a reason why creating an occurrence is breaking this loop? If so, what is the proper or alternate way to display each of these types of occurrences? I appreciate any insight that you guys can provide!
Excerpt from 'event2' template:
{exp:calendar:occurrences
event_name="{segment_3}"
date_range_start="{segment_4}-{segment_5}-{segment_6}"
date_range_end="{segment_4}-{segment_5}-{segment_6}"
show_days="1"
}
<div id="event-header" style="background-image:url('{event_image}')"></div>
<img id="event-poster" src="{event_image}" />
<div id="event-infobox">
<!-- FACEBOOK SHARE DIALOGUE -->
<a href="javascript:fbShare('{current_url}', '{title}', '', '{event_image}', 520, 350)">
<img class="f-icon" src="{site_url}website-images/static-information/facebook.png" />
</a>
<!-- TWITTER SHARE DIALOGUE -->
<a href="javascript:twitterShare('https://twitter.com/share?', 520, 350)">
<img class="f-icon" src="{site_url}website-images/static-information/twitter.png" />
</a>
<br /><br />
{if subheader}<div id="event-subheader">{subheader}</div>{/if}
<span id="event-name">{title}</span>
<br /><div style="margin-top:-6px"><small><br /></small></div>
<span id="event-date">{exp:stash:get name="month" random} {segment_6}, {segment_4}</span>
<div id="event-price">
<span class="event-dolla">
{if price}${price}</span>
{if:else}Free{/if}
<span class="event-priceinfo">{price_info}</span><br />
{if ticket_options}
{ticket_options search:buy_status="=not inactive"}
<a href="{ticket_options:buy_link}"><button class="owhole" style="margin-top: 6px;">{ticket_options:buy_text}</button></a><br />
{/ticket_options}
{/if}
<div id="event-summary">{event_summary}</div>
</div>
</div>
{/exp:calendar:occurrences}