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, Ed, biapar, Willr, Ingo, swaiba

Events Calendar - Spinning progress bar and javascript error

Go to End



Community Member, 130 Posts

9 August 2010 at 8:12am

Edited: 09/08/2010 8:13am

I just downloaded, unpacked, and uploaded the events_calendar module to my site root(r115). After a little config, it mostly works but I'm getting the spinning progress icon(see attached) and a JavaScript error from FireBug:

jQuery("#calendar-widget").datePicker is not a function
[Break on this error] .datePicker({inline:true, startDate ...rt : start_date, rangeEnd: end_date}) 

which corresponds to this line in the 'calendar_widget.js' JavaScript file:

.datePicker({inline:true, startDate : '01/01/1990', endDate: '01/01/2999', month : month_view, year : year_view, rangeStart : start_date, rangeEnd: end_date})

These were my steps:
1. I copied over the necessary .ss templates to themes/mytheme_events_calendar/templates and made my layout changes.
2. Copied the events_calendar/css/calendar.css to themes/mytheme_events_calendar/css/calendar.css and changed my new .ss templates to reflect the new location of the css.
3. Removed the css call from the event_calendar/templates/Layout/ and (these would override my css layout otherwise)
4. ran /dev/build?flush=1
5. Created a new Calendar page and CalendarEvent page in the cms.

I get the same issue even if I use the default install without creating custom templates.