- 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.