FullCalendar View not showing events (but list,grid,table view is showing)

Created on 28 August 2024, 3 months ago
Updated 1 September 2024, 3 months ago

Problem/Motivation

I am trying to load event data in the full calendar view but its showing empty calendar. I tried in two version 5.1.14 and 5.2.1.

πŸ’¬ Support request
Status

Closed: works as designed

Version

5.2

Component

Code

Created by

πŸ‡³πŸ‡΅Nepal lalustine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @lalustine
  • Status changed to Postponed: needs info 3 months ago
  • πŸ‡¦πŸ‡ΊAustralia mingsong πŸ‡¦πŸ‡Ί

    Please provide more information to help the troubleshooting. Such as is there any error the logs? In the browser console(JavaScript error)? What is the field type of the 'start date' field? What is the view settings?

  • πŸ‡ΊπŸ‡ΈUnited States davidandersonencsd

    Same issue here on two ddev development websites.

    YAML export of the view from one:

    dependencies:
      config:
        - field.storage.node.field_event_category
        - field.storage.node.field_event_title
        - field.storage.node.field_event_recurring_date
        - node.type.event
      module:
        - fullcalendar_view
        - node
        - smart_date
        - user
    id: staff_fullcalendar
    label: 'Staff Calendar'
    module: views
    description: ''
    tag: ''
    base_table: node_field_data
    base_field: nid
    display:
      default:
        id: default
        display_title: Default
        display_plugin: default
        position: 0
        display_options:
          title: 'Staff Calendar'
          fields:
            title:
              id: title
              table: node_field_data
              field: title
              relationship: none
              group_type: group
              admin_label: ''
              entity_type: node
              entity_field: title
              plugin_id: field
              label: ''
              exclude: false
              alter:
                alter_text: false
                make_link: false
                absolute: false
                word_boundary: false
                ellipsis: false
                strip_tags: false
                trim: false
                html: false
              element_type: ''
              element_class: ''
              element_label_type: ''
              element_label_class: ''
              element_label_colon: true
              element_wrapper_type: ''
              element_wrapper_class: ''
              element_default_classes: true
              empty: ''
              hide_empty: false
              empty_zero: false
              hide_alter_empty: true
              click_sort_column: value
              type: string
              settings:
                link_to_entity: true
              group_column: value
              group_columns: {  }
              group_rows: true
              delta_limit: 0
              delta_offset: 0
              delta_reversed: false
              delta_first_last: false
              multi_type: separator
              separator: ', '
              field_api_classes: false
            field_event_title:
              id: field_event_title
              table: node__field_event_title
              field: field_event_title
              relationship: none
              group_type: group
              admin_label: ''
              plugin_id: field
              label: ''
              exclude: false
              alter:
                alter_text: false
                text: ''
                make_link: false
                path: ''
                absolute: false
                external: false
                replace_spaces: false
                path_case: none
                trim_whitespace: false
                alt: ''
                rel: ''
                link_class: ''
                prefix: ''
                suffix: ''
                target: ''
                nl2br: false
                max_length: 0
                word_boundary: true
                ellipsis: true
                more_link: false
                more_link_text: ''
                more_link_path: ''
                strip_tags: false
                trim: false
                preserve_tags: ''
                html: false
              element_type: ''
              element_class: ''
              element_label_type: ''
              element_label_class: ''
              element_label_colon: false
              element_wrapper_type: ''
              element_wrapper_class: ''
              element_default_classes: true
              empty: ''
              hide_empty: false
              empty_zero: false
              hide_alter_empty: true
              click_sort_column: value
              type: string
              settings:
                link_to_entity: false
              group_column: value
              group_columns: {  }
              group_rows: true
              delta_limit: 0
              delta_offset: 0
              delta_reversed: false
              delta_first_last: false
              multi_type: separator
              separator: ', '
              field_api_classes: false
            field_event_category:
              id: field_event_category
              table: node__field_event_category
              field: field_event_category
              relationship: none
              group_type: group
              admin_label: ''
              plugin_id: field
              label: ''
              exclude: false
              alter:
                alter_text: false
                text: ''
                make_link: false
                path: ''
                absolute: false
                external: false
                replace_spaces: false
                path_case: none
                trim_whitespace: false
                alt: ''
                rel: ''
                link_class: ''
                prefix: ''
                suffix: ''
                target: ''
                nl2br: false
                max_length: 0
                word_boundary: true
                ellipsis: true
                more_link: false
                more_link_text: ''
                more_link_path: ''
                strip_tags: false
                trim: false
                preserve_tags: ''
                html: false
              element_type: ''
              element_class: ''
              element_label_type: ''
              element_label_class: ''
              element_label_colon: false
              element_wrapper_type: ''
              element_wrapper_class: ''
              element_default_classes: true
              empty: ''
              hide_empty: false
              empty_zero: false
              hide_alter_empty: true
              click_sort_column: target_id
              type: entity_reference_label
              settings:
                link: true
              group_column: target_id
              group_columns: {  }
              group_rows: true
              delta_limit: 0
              delta_offset: 0
              delta_reversed: false
              delta_first_last: false
              multi_type: separator
              separator: ', '
              field_api_classes: false
            field_event_recurring_date:
              id: field_event_recurring_date
              table: node__field_event_recurring_date
              field: field_event_recurring_date
              relationship: none
              group_type: group
              admin_label: ''
              plugin_id: field
              label: ''
              exclude: false
              alter:
                alter_text: false
                text: ''
                make_link: false
                path: ''
                absolute: false
                external: false
                replace_spaces: false
                path_case: none
                trim_whitespace: false
                alt: ''
                rel: ''
                link_class: ''
                prefix: ''
                suffix: ''
                target: ''
                nl2br: false
                max_length: 0
                word_boundary: true
                ellipsis: true
                more_link: false
                more_link_text: ''
                more_link_path: ''
                strip_tags: false
                trim: false
                preserve_tags: ''
                html: false
              element_type: ''
              element_class: ''
              element_label_type: ''
              element_label_class: ''
              element_label_colon: false
              element_wrapper_type: ''
              element_wrapper_class: ''
              element_default_classes: true
              empty: ''
              hide_empty: false
              empty_zero: false
              hide_alter_empty: true
              click_sort_column: value
              type: smartdate_default
              settings:
                timezone_override: ''
                format: short_datetime
                force_chronological: false
                add_classes: false
                time_wrapper: true
                localize: false
                parts:
                  start: start
                  end: end
                  duration: duration
                duration:
                  separator: ' | '
                  unit: ''
                  decimals: 2
                  suffix: h
              group_column: value
              group_columns: {  }
              group_rows: true
              delta_limit: 0
              delta_offset: 0
              delta_reversed: false
              delta_first_last: false
              multi_type: separator
              separator: ', '
              field_api_classes: false
            field_event_recurring_date_end_value:
              id: field_event_recurring_date_end_value
              table: node__field_event_recurring_date
              field: field_event_recurring_date_end_value
              relationship: none
              group_type: group
              admin_label: ''
              plugin_id: date
              label: ''
              exclude: true
              alter:
                alter_text: false
                text: ''
                make_link: false
                path: ''
                absolute: false
                external: false
                replace_spaces: false
                path_case: none
                trim_whitespace: false
                alt: ''
                rel: ''
                link_class: ''
                prefix: ''
                suffix: ''
                target: ''
                nl2br: false
                max_length: 0
                word_boundary: true
                ellipsis: true
                more_link: false
                more_link_text: ''
                more_link_path: ''
                strip_tags: false
                trim: false
                preserve_tags: ''
                html: false
              element_type: ''
              element_class: ''
              element_label_type: ''
              element_label_class: ''
              element_label_colon: false
              element_wrapper_type: ''
              element_wrapper_class: ''
              element_default_classes: true
              empty: ''
              hide_empty: false
              empty_zero: false
              hide_alter_empty: true
              date_format: html_datetime
              custom_date_format: ''
              timezone: ''
            field_event_recurring_date_value:
              id: field_event_recurring_date_value
              table: node__field_event_recurring_date
              field: field_event_recurring_date_value
              relationship: none
              group_type: group
              admin_label: ''
              plugin_id: date
              label: ''
              exclude: true
              alter:
                alter_text: false
                text: ''
                make_link: false
                path: ''
                absolute: false
                external: false
                replace_spaces: false
                path_case: none
                trim_whitespace: false
                alt: ''
                rel: ''
                link_class: ''
                prefix: ''
                suffix: ''
                target: ''
                nl2br: false
                max_length: 0
                word_boundary: true
                ellipsis: true
                more_link: false
                more_link_text: ''
                more_link_path: ''
                strip_tags: false
                trim: false
                preserve_tags: ''
                html: false
              element_type: ''
              element_class: ''
              element_label_type: ''
              element_label_class: ''
              element_label_colon: false
              element_wrapper_type: ''
              element_wrapper_class: ''
              element_default_classes: true
              empty: ''
              hide_empty: false
              empty_zero: false
              hide_alter_empty: true
              date_format: html_datetime
              custom_date_format: ''
              timezone: ''
          pager:
            type: mini
            options:
              offset: 0
              pagination_heading_level: h4
              items_per_page: 0
              total_pages: null
              id: 0
              tags:
                next: β€Ίβ€Ί
                previous: β€Ήβ€Ή
              expose:
                items_per_page: false
                items_per_page_label: 'Items per page'
                items_per_page_options: '5, 10, 25, 50'
                items_per_page_options_all: false
                items_per_page_options_all_label: '- All -'
                offset: false
                offset_label: Offset
          exposed_form:
            type: basic
            options:
              submit_button: Apply
              reset_button: false
              reset_button_label: Reset
              exposed_sorts_label: 'Sort by'
              expose_sort_order: true
              sort_asc_label: Asc
              sort_desc_label: Desc
          access:
            type: perm
            options:
              perm: 'access content'
          cache:
            type: tag
            options: {  }
          empty: {  }
          sorts:
            field_event_recurring_date_value:
              id: field_event_recurring_date_value
              table: node__field_event_recurring_date
              field: field_event_recurring_date_value
              relationship: none
              group_type: group
              admin_label: ''
              plugin_id: date
              order: ASC
              expose:
                label: ''
                field_identifier: ''
              exposed: false
              granularity: second
          arguments: {  }
          filters:
            status:
              id: status
              table: node_field_data
              field: status
              entity_type: node
              entity_field: status
              plugin_id: boolean
              value: '1'
              group: 1
              expose:
                operator: ''
            type:
              id: type
              table: node_field_data
              field: type
              entity_type: node
              entity_field: type
              plugin_id: bundle
              value:
                event: event
            field_event_2nd_shift_value:
              id: field_event_2nd_shift_value
              table: node__field_event_2nd_shift
              field: field_event_2nd_shift_value
              relationship: none
              group_type: group
              admin_label: ''
              plugin_id: boolean
              operator: '='
              value: '1'
              group: 1
              exposed: false
              expose:
                operator_id: ''
                label: ''
                description: ''
                use_operator: false
                operator: ''
                operator_limit_selection: false
                operator_list: {  }
                identifier: ''
                required: false
                remember: false
                multiple: false
                remember_roles:
                  authenticated: authenticated
              is_grouped: false
              group_info:
                label: ''
                description: ''
                identifier: ''
                optional: true
                widget: select
                multiple: false
                remember: false
                default_group: All
                default_group_multiple: {  }
                group_items: {  }
          style:
            type: fullcalendar_view_display
            options:
              default_date_source: now
              defaultDate: ''
              start: field_event_recurring_date_value
              end: field_event_recurring_date_end_value
              title: title
              left_buttons: 'prev,next today'
              right_buttons: 'dayGridMonth,timeGridWeek,timeGridDay,listYear'
              default_view: dayGridMonth
              default_mobile_view: listYear
              mobile_width: '768'
              firstDay: '0'
              nav_links: 1
              timeFormat: 'hh:mm a'
              allowEventOverlap: 1
              updateAllowed: 1
              updateConfirm: 1
              defaultLanguage: en
              languageSelector: 0
              dialogWindow: 0
              openEntityInNewTab: 1
              createEventLink: 0
              eventLimit: '2'
              tax_field: field_event_category
              vocabularies: event_category
              color_bundle:
                career: '#3a87ad'
                email: '#3a87ad'
                event: '#2c1376'
                file: '#791a3e'
                game: '#3a87ad'
                link: '#3a87ad'
                meeting_document: '#3a87ad'
                menu_item: '#3a87ad'
                page: '#ad3e00'
                post: '#3a87ad'
                staff_member: '#3a87ad'
                webform: '#4f7a28'
              rrule: ''
              dialogModal: false
              dialogCanvas: false
              duration: ''
              slotDuration: '00:30:00'
              minTime: '00:00:00'
              maxTime: '23:59:59'
              bundle_type: event
              classes: staff-calendar
              fetchGoogleHolidays: 0
              googleHolidaysSettings:
                googleCalendarAPIKey: ''
                googleCalendarGroup: ''
                renderGoogleHolidaysAsBackground: 0
              color_taxonomies:
                38: '#b51a00'
                40: '#00c7fc'
                43: '#0042aa'
                37: '#4f7a28'
                41: '#791a3e'
                56: '#3a87ad'
                36: '#c4bc00'
                102: '#3a87ad'
                42: '#77bb41'
                39: '#2c1376'
          row:
            type: fields
          query:
            type: views_query
            options:
              query_comment: ''
              disable_sql_rewrite: false
              distinct: false
              replica: false
              query_tags: {  }
          relationships: {  }
          use_ajax: true
          header: {  }
          footer: {  }
          display_extenders: {  }
        cache_metadata:
          max-age: -1
          contexts:
            - 'languages:language_content'
            - 'languages:language_interface'
            - url.query_args
            - 'user.node_grants:view'
            - user.permissions
          tags:
            - 'config:field.storage.node.field_event_category'
            - 'config:field.storage.node.field_event_title'
            - 'config:field.storage.node.field_event_recurring_date'
      page_1:
        id: page_1
        display_title: 'School Calendar'
        display_plugin: page
        position: 1
        display_options:
          title: 'School Calendar'
          filters:
            status:
              id: status
              table: node_field_data
              field: status
              entity_type: node
              entity_field: status
              plugin_id: boolean
              value: '1'
              group: 1
              expose:
                operator: ''
            type:
              id: type
              table: node_field_data
              field: type
              entity_type: node
              entity_field: type
              plugin_id: bundle
              value:
                event: event
            field_event_1st_3rd_shifts_value:
              id: field_event_1st_3rd_shifts_value
              table: node__field_event_1st_3rd_shifts
              field: field_event_1st_3rd_shifts_value
              relationship: none
              group_type: group
              admin_label: ''
              plugin_id: boolean
              operator: '='
              value: '1'
              group: 1
              exposed: false
              expose:
                operator_id: ''
                label: ''
                description: ''
                use_operator: false
                operator: ''
                operator_limit_selection: false
                operator_list: {  }
                identifier: ''
                required: false
                remember: false
                multiple: false
                remember_roles:
                  authenticated: authenticated
              is_grouped: false
              group_info:
                label: ''
                description: ''
                identifier: ''
                optional: true
                widget: select
                multiple: false
                remember: false
                default_group: All
                default_group_multiple: {  }
                group_items: {  }
          filter_groups:
            operator: AND
            groups:
              1: AND
          defaults:
            title: false
            css_class: false
            filters: false
            filter_groups: false
            header: true
          css_class: shift-1-3
          display_description: ''
          display_extenders: {  }
          path: parents/school-calendar
        cache_metadata:
          max-age: -1
          contexts:
            - 'languages:language_content'
            - 'languages:language_interface'
            - url.query_args
            - 'user.node_grants:view'
            - user.permissions
          tags:
            - 'config:field.storage.node.field_event_category'
            - 'config:field.storage.node.field_event_title'
            - 'config:field.storage.node.field_event_recurring_date'
  • πŸ‡¦πŸ‡ΊAustralia mingsong πŸ‡¦πŸ‡Ί

    I can't see which field is used for the 'Start date' from your setting above.

    Without knowing the answers to the questions asked on #2 πŸ› FullCalendar View not showing events (but list,grid,table view is showing) Postponed: needs info , there is no way to help you figure out what happened to your view.

    Given that there are 5,361 sites using 5.1.14 and 2,389 sites using 5.2.1 till August 18, 2024, I don't think this is a common issue.

    I change it to 'Support request' until we know what went wrong, because this issue sounds more like 'How to use it'.

    Here is a help document on how to use this module.

    https://fivejars.com/blog/all-you-need-know-about-fullcalendar-view-module

    Hope it help.

  • πŸ‡¦πŸ‡ΊAustralia mingsong πŸ‡¦πŸ‡Ί
  • Status changed to Closed: works as designed 3 months ago
  • πŸ‡¦πŸ‡ΊAustralia mingsong πŸ‡¦πŸ‡Ί
Production build 0.71.5 2024