Quick questions about Calendar

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

Quick questions about Calendar

Post by stopsatgreen »

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:

Code: Select all

{if $events|@count == 0}
<p>Sorry, there are no events this month.</p>
{/if}
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.
Last edited by stopsatgreen on Wed Oct 24, 2007 11:55 am, edited 1 time in total.
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

Re: Quick questions about Calendar

Post by stopsatgreen »

Just giving this a bump, as I need an answer...
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

Re: Quick questions about Calendar

Post by stopsatgreen »

Anutha bump... can anyone give me an answer? Even if it's a no?
Post Reply

Return to “CMSMS Core”