Hi, using events app archive display - user has list of 'upcoming' and 'past' events. Is it possible that the event detail showing for an event can be different for a 'past' event than that showing when 'upcoming'?
I ask because we may have an 'upcoming' race event - shows entry details etc. When race is 'past' we would like to show results, not entry details.
I am guessing this could be done with some clever editing of the event-detail.html template to filter the upcoming and past descriptions
Any ideas gratefully received, thanks.
<div class="vevent">
<h2 class="summary"><perch:events id="eventTitle" /></h2>
<p class="dtstart"><span class="value-title" title="<perch:events id="eventDateTime" format="l, jS F Y g:i a" />"><perch:events id="eventDateTime" format="%c" /></span></p>
<div class="description"><perch:events id="eventFutureDescHTML" type="textarea" editor="redactor" encode="false" /></div>
<div class="description"><perch:events id="eventPastDescHTML" type="textarea" editor="redactor" encode="false" /></div>
<p class="category"><perch:events id="category_names" encode="false" /></p>
<perch:if exists="image">
<img src="<perch:events id="image" type="image" label="Image" width="640" crop="true" />" alt="<perch:events id="eventTitle" />" />
</perch:if>
</div>