1
The Upcoming Week Events block shows fine if there are events scheduled in the calendar for the week, but disappears if there are no events. I thought that was cool but soon realized that I wanted it to show all the time. So I edited the block and thought of here was the origional code:
<{if $block.contents}>
<{foreach item=event from=$block.contents}>
<{$event}>
<{/foreach}>
<{/if}>
Lets just add in an else and go from there I thought:
<{if $block.contents}>
<{foreach item=event from=$block.contents}>
<{$event}>
<{/foreach}>
<{else}>
No events this week
<{/if}>
However for some reason it still refuses to show. I have gone over this left right center etcetc and cannot get it to work. So I wondered if there was something on the back end that made things funky, but I've been through the agenda folder and found nothing that helped.
If anyone has an idea what I need to look for or what I am missing that would be great !!!
Thanks.