I have the event-calendar setup for regular calendar use. Then I created a module that is an extension of the event calendar that is for certain group meetings. This one is extended with event address, map, etc.
On the homepage of the site, I would like to pull upcoming events, but only from the regular calendar. Not from the extended one.
When I use the following code in my page.php file, it pulls back events from the extended calendar.
public function UpcomingNonAnnouncements()
Is there a way I can test for if there are any upcoming events in a calendar? Essentially I have a sidebar block on my homepage showing my latest events, incluidng a headline of Latest Events. If there are no events I want the whole block to not be displayed.