Multiday Event with separate fields

Created on 22 March 2024, 6 months ago
Updated 18 August 2024, about 1 month ago

Problem/Motivation

The multiday module only works with daterange field. It does not allow to use separated fields for start and end datetime.

As a site builder I want to be able to select one field for start and another field for end.

Steps to reproduce

TBD

Proposed resolution

TBD

Remaining tasks

TBD

Original report

It is a bit unclear how to best use calendar_view_multiday. It seems from some of the previous tickets that the field may need to be a date range field? I am unable to sort out how to get this working with a separate start, and end date added to a view. When enabling `field_start_date' and `field_end_date` as dates on the monthly display, it simply shows the event twice, once on the start date, and once on the end date.

There is no readme doc in the module, or similar that I could find. Any help appreciated.

✨ Feature request
Status

Active

Version

2.1

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States Dan_Rogers Driggs, ID

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

Comments & Activities

  • Issue created by @Dan_Rogers
  • Assigned to matthieuscarset
  • Thank you for posting the issue. I admit I am not even sure how the multiday module behaves in this situation. I made this module rapidly to separate the multiday JS behavior from the main plugin.

    I have to debug a bit further and I'll let you know ASAP.

    Sorry for the inconvenience

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

    Selecting multiple date fields in the calendar display settings is for adding content with different date fields.

    Just add your date field once, and it won't duplicate. Or just use the start date if you have two different fields for start/end.

  • Status changed to Needs review 4 months ago
  • @Dan_Rogers can you confirm #2 helps you solve your situation ?

  • @matthieuscarset I believe I have the same question as Dan_Rogers: I try to display events from CiviCRM which have a start and end datetime. In the calendar the event should be displayed spanning the whole range between start and end datetime. Is there any way to achieve this? If I select both fields each event just gets displayed twice, once for the start and once for the end.

  • Status changed to Needs work about 1 month ago
  • @fkohrt Thank you for explaining your use case.

    I understand the expectations here and - unfortunately - the multiday module does not handle separate fields for start and end.

    This is a great feature request. I'm updating this issue's title and summary to work on it whenever possible.

  • Status changed to Active about 1 month ago
Production build 0.71.5 2024