CGCalendar add event image to month view
Posted: Mon Jul 17, 2017 7:55 pm
In CGCalendar I created a custom field called Image and I can get the image to display in event view by adding this to the event view template:
Now I'd like to display a small thumbnail of the image next to the event title in full/month view. Would this be done in FullCalendar View template or am I looking in the wrong place? I don't see where the individual events are built in the FullCalendar View template. Thanks!
Code: Select all
{if isset($event.fields)}
<div class="calendar-fields">
{foreach $event.fields as $fieldname => $fieldrec}
<img src="{uploads_url}/{$fieldrec.field_value}"/>
{/foreach}
</div>
{/if}