Quick questions about Calendar
Posted: Wed Aug 29, 2007 11:39 pm
1. What code do I need to use to add a message if there are no events for that month in the 'list' view? Something like this:
Never mind, found the solution to this. It's:
2. Is there a way to have the month names instead of Prev/Next; that is, if the month is August, to have the link to July/September instead?
Apologies if these have been asked before; I did a search but couldn't find the answer.
Never mind, found the solution to this. It's:
Code: Select all
{if $events|@count == 0}
<p>Sorry, there are no events this month.</p>
{/if}Apologies if these have been asked before; I did a search but couldn't find the answer.