Closed HeneryH closed 3 years ago
Bump, please anyone? I would like to demo this and the initial view being one of the weekly format instead of the monthly format would be incredibly helpful.
Ah!!!!!! Got it. This module is using the V3 version of the FullCalendar library and I was looking at the V5 docs. The names of the views have changed.
Looking at the code here and the FullCalendar docs, it seems like this is using the "Initialize with Script Tags" method to initialize the calendar as described in Initialize Globals
Not exactly one for one but in templates/CRM/EventCalendar/Page/ShowEvents.tpl I see variables that look similar to the docs. Taking a guess, I tried to put the new variable "initialView" into this code using various formats but they don't seem to be working.
Can anyone help me identify where in this module the equivalent of
or
might be hidden? I am trying to set my initial view to week or agenda week. Once I figure out how to hard-code it I can look into making it a user option.
Thanks.