Created on 14 January 2025, 3 months ago

Problem/Motivation

Hi, new to the module and thank you so much for creating this! It is a life saver for me. I am very used to the D7 version of full calendar and love that you guys have incorporated the use of multiple dates/bundles into this module. I am using two different dates in one of my views from two different content types. The data shows up, however, for the content that has a date/time field (i.e. a single date/time with no end time), it shows the event on the calendar over multiple days. In the D7 version of a similar module, there was a config setting calling "default event duration" which told the interface how the event should be painted on the calendar if there was no end date. Is that available in this module? Thanks.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Active

Version

3.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States dbdrupal

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

Comments & Activities

  • Issue created by @dbdrupal
  • πŸ‡ΊπŸ‡ΈUnited States dbdrupal

    Hi, it's been a month since I first posted and am just looking for clarification or some feedback on this as it is a big deal to the web site I'm developing. Can one of the maintainers at least address this question? Thank you and please let me know if I wasn't clear or didn't provide enough information in my initial post.

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

    Not a dev, but looking at fullcalendar's docs what you want is to pass a value to https://fullcalendar.io/docs/defaultTimedEventDuration

    You could look at the structure of the rest of the settings, pick one to modify to pass values to this value in the event model.

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

    Thank you @erutan, that is exactly what I need added to this module. I'm a site builder but know my way around code, just not PHP. I guess in the meantime, I will see if I can find how this used to be implemented and try my hand at a patch for my local installation.

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

    You're welcome. :)

    My guess is that going off how it used to be implemented might be more work. You may very well be able to just do a copy and then replace variable names etc for an existing setting in this branch - all the module is doing afaik is passing a value input in the drupal settings to the fullcalendar js library that generates the calendar.

    Not sure what accordion it'd fall under in terms of organization. Date & Time settings I guess? It'd be useful as a public patch if you get it working as that seems like a not so unusual use case. :)

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

    Well, I did look into it and there is ALOT of code out there for this module and I really don't have time to figure out what the right solution is. My workaround is to add an extra field in my content type that is a SmartDate and I wrote a small ECA model that sets it based on my DateTime field and I use the SmartDate field in FullCalendar. Would really be nice to have that default duration back in FullCalendar but I'm good for now.

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

    Thanks for documenting the workaround.

    Hopefully mandclu has some time to look at the issue queue at some point, but supporting open source on top of a dayjob is a rough task. :)

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

    Completely get it. My work building Drupal websites is my side gig. Wish I had more time to devote to it, because it is great fun. Appreciate all the help you provided here as well as those that the module authors and maintainers are able to devote to it.

Production build 0.71.5 2024