I am using the Repeet plugin for an event calendar with multi-day events. Is there a way to display what day number of the event that is on the calendar?
So if there was an entry that was 4 days, each day would have the title of the event and “Day 1 of 5”, “Day 2 of 5”, etc.
Does that make sense?
Ok, I managed to get the event days numbered (see below). But any ideas how I can get the total number days for an event? So that I can have “Day 2 of 7”.
{if entries}
<td class='{switch}' valign="top" align='center' width='14%'>
{day_number}
{entries}
<div>
<?php if ($item{entry_id}){
} else {
$item{entry_id} = 1;
} ?>
<a href="http://{title_permalink=training/class}">{title}</a>
Day <?php echo $item{entry_id}; ?></div>
<?php $item{entry_id} ++; ?>
{/entries}
</td>
{/if}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.