I have three event calendars on my site and I would like to display the upcoming events on the home page. The problem is, I can only get it to display events from my first calendar (but the calendar I want to use on the home page is not the first one).
I have tried in the template using
<% control UpcomingEvents(5, 'calendar') %>
<% control UpcomingEvents(5, calendar) %>
where my URLSegment is calendar, but it is still getting the events from the first calendar in the database.
Can anyone please help me with how I get it to show a different calendar?