I get this error on the Chrome console, when going to: http://www.parkour.org/de/bootstrap_calendar

Uncaught TypeError: undefined is not a function
Drupal.behaviors.bootstrap_calendar.attach
(anonymous function)
e.extend.each
Drupal.attachBehaviors.Drupal.attachBehaviors
Drupal.attachBehaviors
(anonymous function)
f.Callbacks.n
f.Callbacks.o.fireWith
e.extend.ready
c.addEventListener.B

I believe i setup everything right and installed https://github.com/Serhioromano/bootstrap-calendar/archive/master.zip

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ogursoy’s picture

same problem

hatuhay’s picture

Please try on new DEV version and let me know

Breakerandi’s picture

Again a javascript error. i attached the screenshot

JakeWilund’s picture

I am getting the javascript error as well, which prevents the calendar from rendering properly.

mb1217’s picture

I am getting this error as well, did anyone find a solution?

hatuhay’s picture

The module is working and on a clean installation I was not able to reproduce this issue.
I may guess for the first image, that a taxonomy field for event type has not being defined and/or not declared.
Please verify and let me know.

mb1217’s picture

Hello thanks for helping with this, I guess I am not sure how to configure this module correctly. where do I configure the taxonomy for it?
thx

hatuhay’s picture

Nedd to go to the configuration page: /admin/config/user-interface/bootstrap_calendar

mb1217’s picture

I am using jquery update module, what version of jquery are you using?

here is the js error i am seeing

Drupal.behaviors.bootstrap_calendar.attach @ bootstrap_calendar.js?nnusq6:20
(anonymous function) @ drupal.js?nnusq6:76
jQuery.extend.each @ jquery.js:665
Drupal.attachBehaviors @ drupal.js?nnusq6:74
(anonymous function) @ drupal.js?nnusq6:412
jQuery.Callbacks.fire @ jquery.js:3048
jQuery.Callbacks.self.fireWith @ jquery.js:3160
jQuery.extend.ready @ jquery.js:433
completed @ jquery.js:104

CBD’s picture

I am getting this error:
Uncaught TypeError: Cannot read property 'length' of null
and
Uncaught TypeError: this.options.templates[this.options.view] is not a function
and more..

I used in jquery-1.10.2 version

and object options is:
classes: Object
day: "2016-01-27"
events_source: "/ajax/bootstrap_calendar/events/"
first_day: null
holidays: Object
language: "i18n"
onAfterViewLoad: (view)
time_end: "22:00"
time_split: "30"
time_start: "6:00"
tmpl_cache: false
tmpl_path: "/false/tmpls/"
view: "month"
views: Object
__proto__: Object

Is it possible to insert the calendar to Panel?

hatuhay’s picture

Yes it is possible, but you need to render the calendar as a block rather than a page.

hatuhay’s picture

Status: Active » Closed (fixed)