I am using a mini cal to show day with event on them. And everything works fine. but when an entry expires it is removed from the mini cal.
I can urn on the show_expired=“yes”, but then because I dont want to show expired entries in the event list it will not show up.
Is there a was, my guess using a conditional, to have it link to the archiv if the event is expired?
This is the code I have for non expired entries.
{if entries}
<td class='{switch}' align='center'><a href="http://{day_path=news_events/events}">{day_number}</a></td>
{/if}
{if not_entries}
<td class='{switch}' align='center'>{day_number}</td>
{/if}
{if blank}
<td class='calendarBlank'>{day_number}</td>
{/if}My guess is I need something to this effect.
{if entries}
<td class='{switch}' align='center'><a href="http://{day_path=news_events/events}">{day_number}</a></td>
{/if}
{if expired}
<td class='{switch}' align='center'><a href="http://{day_path=archive/events}">{day_number}</a></td>
{/if}
{if not_entries}
<td class='{switch}' align='center'>{day_number}</td>
{/if}
{if blank}
<td class='calendarBlank'>{day_number}</td>
{/if}Cheers,