I have what I suspect must be a very simple question. I have the following snippet call for an events page I am building:
[[!getPage@SchedulePagination? &element=`getResources` &parents=`132` &tpl=`CalendarEventRowTpl` &sortbyTV=`Calendar_EventDateStart` &sortdirTV=`ASC` &includeContent=`1` &processTVs=`1` &includeTVs=`1` &showHidden=`1` &limit=`6` &pageNavVar=`page.nav` ]] <ul class="pagination"> [[!+page.nav:notempty=` [[!+page.nav]] <p class="">Page [[+page]] of [[+pageCount]]</p> `]] </ul>
This works fine, in that it correctly returns all the events that are currently published, and additionally, the pagination code does not display if there are no events currently published.
However, when there are no events currently published, I would also like to be able to display a chunk that basically says “There are no current events. Please check back later.”
How do I do that?
Thanks for the help!