I know that this isn't actual code, but hopefully it gets my Machiavellian plan across.
I think the main problem is that it seems not to recognise the $ccuser() function. Any ideas?
i.e.
Code: Select all
<td {if isset($day.class) }class="{$day.class}"{/if}>
{if isset($day.events.0) [color=red]&& $ccuser->property('Name') == event.fields.name}[/color]<a href="{$day.url}">{$key}</a>
{if $summaries == true}
<ul>
{foreach from=$day.events item=event}
<li><a href="{$event.url}">{$event.event_title}</a></li>
{/foreach}
</ul>
{/if}
{else}{$key}{/if}
</td>
{math assign=weekday equation="x + 1" x=$weekday}
{/foreach}