Hi,
Does anybody know to how to change the start time of the calendar?
Thanks
Calendar start time
Calendar start time
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper
Re: Calendar start time
Hi there,
Open your hooks/calendar-CALENDARNAME.php file and look for
(somewhere at line 56)
Add the following code below the "aspectRatio: 2.5......"
to become like this...
Change the minTime and maxTime value according to your requirement.
Hope this help.
Open your hooks/calendar-CALENDARNAME.php file and look for
Code: Select all
height: 'auto', // https://fullcalendar.io/docs/height
contentHeight: 'auto', // https://fullcalendar.io/docs/contentHeight
aspectRatio: 2.5, // https://fullcalendar.io/docs/aspectRatio
Add the following code below the "aspectRatio: 2.5......"
Code: Select all
minTime: '09:00:00', // THIS IS min time in day grid
maxTime: '18:00:00', // THIS IS max time in day grid
Code: Select all
height: 'auto', // https://fullcalendar.io/docs/height
contentHeight: 'auto', // https://fullcalendar.io/docs/contentHeight
aspectRatio: 2.5, // https://fullcalendar.io/docs/aspectRatio
minTime: '09:00:00', // THIS IS min time in day grid
maxTime: '18:00:00', // THIS IS max time in day grid
Hope this help.
Zala.
Appgini 24.10.1579, MacOS 14.3.1 Windows 11 on Parallels.
Appgini 24.10.1579, MacOS 14.3.1 Windows 11 on Parallels.
Re: Calendar start time
Thanks zibrahim, that worked nicely.
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper
Re: Calendar start time
Hi, I would like to give you a hint about the AppGini calendar. There is a problem here if you use the calendar with different user authorizations like me. If the calendar is set up for a table for which the current user does not have permission, the calendar will produce 403 errors. The errors slow down the loading of the calendar content and massively inflate the log file. Better to use different calendar settings for different user groups.