Closed (outdated)
Project:
Fullcalendar View
Version:
5.1.5
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 May 2022 at 20:56 UTC
Updated:
3 Apr 2023 at 05:53 UTC
Jump to comment: Most recent
Comments
Comment #2
mingsongThat is weird.
I am not sure what exactly happen to your site. It could be a bug.
Regarding adding a custom setting to the view, there are two ways.
1. Backend via overwriting FullcalendarViewProcessorBase classe.
Example see
https://www.drupal.org/project/fullcalendar_view/issues/3207988#comment-...
2. Frontend via custom JS.
Example see
https://www.drupal.org/project/fullcalendar_view/issues/3243435#comment-...
Comment #3
bcobin commentedThanks for the quick response - much appreciated! I'm trying to reproduce in Drupal 9 what I've done here:
https://kgbbar.com/events
The one difference would be to have end times past midnight not make the event span two days on the calendar. (Google Events likes to see beginning and end times.)
I'm using Smart Date and changing the settings in the FullCalendar display seems to have no effect at all - I just get the Start time and the title, no matter what the settings are. Even adding separate start and end fields and choosing them in the interface makes no difference.
I think this should be a fairly common use case - any ideas would be a big help! Thanks in advance and for the module...
Comment #4
bcobin commentedI've added the below in fullcalendar_view.js and it works a treat, both to display the end date and to set the next day threshold to 9 AM the next morning.. success!
Thank you gcalex from here!
I'm still wrestling with Drupal 9, though, and haven't been able to figure out how to inject JS in the theme. Obviously, modifying the js is totally wrong, but at least a solution is in sight here - any guidance on adding js is most welcome!
Comment #5
mingsongPlease try Fullcalendar Block module.
https://www.drupal.org/docs/contributed-modules/fullcalendar-block/how-t...