I've installed the Events Calendar module, which is working fine. The site I'm building has various items such as a booking form and events diary which are included in the sidebar. I need have an include which displays the $MonthNavigator with a set amount of upcoming events under it which I can include on any page that required it throught the site.
The functions UpcomingEvents(), RecentEvents(), CalendarWidget() and LiveCalendarWidget() are all decorated into your SiteTree class, so you can call them anywhere. MonthNavigator() was not, but I have added it into the trunk (2.4 only).
It's easy enough to do it yourself, though..
return new MonthNavigator($your_calendar_object, new sfDate());
Thanks for the reply. But I still can't seem to acheive what I'm looking for.
In my Page_Controller in Code/Page.php i have
MonthNavigator($(this), new sfDate());
and in my includes/sidebar.ss I have
This displays the drop down box, but tried to redirect me to another page. I wan't to be able to select a month and it show me events in that month inside my sidebar, I've attached a png of what I'm trying to acheive.