Views argument support for Calendar module

Created on 13 August 2023, about 1 year ago
Updated 22 August 2023, about 1 year ago

Problem/Motivation

I would like to get the imported google calendar events to show in a view made with the Calendar module.

I think this is caused by an issue with base fields and views. I read that there is an issue with datetime, but we are using timestamps for start/end date so I'm not sure why it doesn't work automatically.

Steps to reproduce

Create a calendar view using the views template for google calendar event start date.

See errors in the view due to broken/missing contextual arguments.

Proposed resolution

Supply views data for start/end date fields to support date_year_month, date_year, and date_fulldate handlers.
Are any others needed?

Remaining tasks

Review patch, discuss further implementation.

User interface changes

The create calendar views templates now works for google calendar.

* I know there is a 3.x branch but I haven't tested it yet. Are all the features working as well as in 2.x?

✨ Feature request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

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

Comments & Activities

  • Issue created by @mortona2k
  • @mortona2k opened merge request.
  • @mortona2k opened merge request.
  • πŸ‡¬πŸ‡§United Kingdom rivimey

    @mortona2k, I am no sort of expert on views data arrays but if this patch works, it would make sense to me to extend the scope a bit to include other fields, such as end date, and also to include time.

Production build 0.71.5 2024