heres the full code for the minical template
<div id="miniCalWrapper">
<table class="calMinical" style="width:100%; text-align:center; vertical-align:middle;" summary="Events for this month">
<tr class="miniCalNavigMonth">
<td colspan="7"><h3 class="miniCalNavigMonthName"><a href="<{$xoops_url}>/modules/extcal/calendar-month.php?<{$block.navig.uri}>"><{$block.navig.name}></a></h3></td>
</tr>
<tr class="miniCalWeekDays">
<{foreach item=day from=$block.weekdayNames}>
<th><{$day}></th>
<{/foreach}>
</tr>
<{foreach item=weeks from=$block.tableRows}>
<tr class="miniCalDates">
<{foreach item=day from=$weeks.week}>
<td>
<{if !$day.isEmpty}>
<{if $day.haveEvents}>
<a href="<{$xoops_url}>/modules/extcal/day.php?year=<{$weeks.weekInfo.year}>&month=<{$weeks.weekInfo.month}>&day=<{$day.number}>"><{/if}><{$day.number}><{if $day.isEvent}></a>
<{/if}>
<{else}>
<{/if}>
</td>
<{/foreach}>
</tr>
<{/foreach}>
</table>
<div id="miniCalMoreLinks">
<a href="<{xoAppUrl /modules/qpages/}>">What's On</a> | <a href="<{xoAppUrl /modules/extcal/}>">All Events</a>
</div>
</div>
I have modified the template so it is possible I have messed soemthing up but usually if there is an opening or closing <{if}> missing I usually get a smarty error but there is no errors in this case except when validating.
Thanks for your help and happy new year.