Jump to:

11004 Posts in 2735 Topics by 1824 members

All other Modules

SilverStripe Forums » All other Modules » Event_Calendar $LiveCalendarWidget Bugfix for 2.4

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 824 Views
  • silverseba
    Community Member
    26 Posts

    Event_Calendar $LiveCalendarWidget Bugfix for 2.4 Link to this post

    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'),

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.