Repeet doesn’t list occurrences for a single event on a single-entry template with the entry ID in the URL. Nothing inside the Repeet code displays; all I get is the title.
My entire template:
{exp:weblog:entries weblog="events" show_expired="yes" show_future_entries="yes"}
{title}
{exp:repeet:list_dates from="today" to="1 year" entry_date="{entry_date format="%Y-%m-%d %H:%i"}" expiration_date="{expiration_date format="%Y-%m-%d %H:%i"}" max_list="25" interval="{repeat_interval}"}
This event occurs on the following dates over the next year:
{repeet:include_dates}{include_dates}{/repeet:include_dates}
{repeet:exclude_dates}{exclude_dates}{/repeet:exclude_dates}
{repeet:display}
<li>
<a href="http://yoursite.com/events/{repeet:start_time" title="View other events happening on {repeet:start_time format=">_ {repeet:start_time format="%l, %F %d, %Y %g:%i %A"}{repeet:end_time format=" - %g:%i %A"}_ </a>
</li>
{/repeet:display}
{/exp:repeet:list_dates}
{/exp:weblog:entries}
{exp:weblog:entries weblog="events"}
{title}
{body}
{exp:repeet:list_dates from="today" to="1 year" entry_date="{entry_date format="%Y-%m-%d %H:%i"}" expiration_date="{expiration_date format="%Y-%m-%d %H:%i"}" max_list="25" interval="{repeat_interval}"}
This event occurs on the following dates over the next year:
{repeet:include_dates}{include_dates}{/repeet:include_dates}
{repeet:exclude_dates}{exclude_dates}{/repeet:exclude_dates}
{repeet:display}
<li>
<a href="http://yoursite.com/events/{repeet:start_time" title="View other events happening on {repeet:start_time format=">_ {repeet:start_time format="%l, %F %d, %Y %g:%i %A"}{repeet:end_time format=" - %g:%i %A"}_ </a>
</li>
{/repeet:display}
{/exp:repeet:list_dates}
{/exp:weblog:entries}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.