Hi all,
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()
{
return DataObject::get_one("Calendar")->upcomingEvents(5);
}
Any idea how I can fix this?