Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Event_Calendar $LiveCalendarWidget Bugfix for 2.4


Reply


834 Views

Avatar
silverseba

Community Member, 26 Posts

17 June 2010 at 9:45pm

I discovered a minto Bug in the event_calendat module in the 2.4 trunk.
When using $LiveCalendarWidget the 'CurrentMonthLink' is generated wrong, so that clicking it results in a 404 error.
The problem is, that the link lacks the 'view/' in the URL (e.g. mydomain.com/calendar/view/201006)

To make the widget work correctly under SS 2.4 just use this simple fix:
Replace line 249 in event_calendar/code/CalendarUI.class.php with this code

'CurrentMonthLink' => $this->calendar->Link('view')."/".$this->start_date->format('Ym'),