Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#3 | screesnhot javascript error.png | 390.95 KB | Breakerandi |
Startseite Parkour.org_.png | 342.25 KB | Breakerandi |
Comments
Comment #1
ogursoy CreditAttribution: ogursoy commentedsame problem
Comment #2
hatuhay CreditAttribution: hatuhay commentedPlease try on new DEV version and let me know
Comment #3
Breakerandi CreditAttribution: Breakerandi commentedAgain a javascript error. i attached the screenshot
Comment #4
JakeWilund CreditAttribution: JakeWilund commentedI am getting the javascript error as well, which prevents the calendar from rendering properly.
Comment #5
mb1217 CreditAttribution: mb1217 commentedI am getting this error as well, did anyone find a solution?
Comment #6
hatuhay CreditAttribution: hatuhay commentedThe 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.
Comment #7
mb1217 CreditAttribution: mb1217 commentedHello 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
Comment #8
hatuhay CreditAttribution: hatuhay commentedNedd to go to the configuration page: /admin/config/user-interface/bootstrap_calendar
Comment #9
mb1217 CreditAttribution: mb1217 commentedI 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
Comment #10
CBD CreditAttribution: CBD commentedI 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?
Comment #11
hatuhay CreditAttribution: hatuhay commentedYes it is possible, but you need to render the calendar as a block rather than a page.
Comment #12
hatuhay CreditAttribution: hatuhay commented