I have a number of events on a page and I need to know the number of entries outside an entries loop. The page has a number of events, and then an invitation to see old events:
Missed something? check out past events!
However, if there are no events, I want the page to display a message:
More events coming soon! Past events are here.
So I need the logic to go like this:
If there are more than 0 events,
loop through all events
add past events message
display no events message*
How can I do this?