I have built a custom sidebar on the left of the calendar. I have locked and hidden the native sidebar for calendar users. I was wondering if it's possible to access the Time Settings and View Settings. I noticed fields in the CalendarInterface table but they don't really relate to the calendar settings in the original sidebar. Are the settings parameters accessible to me so I can create a UI of my own?
Accessing Settings with custom sidebar
2 posts
• Page 1 of 1
Posts: 109
Joined: Fri Jul 17, 2009 7:44 am |
|
Hi Jim,
Yes, these options are something you can change in FileMaker scripts with DayBack Classic. You'll find all of these settings in the "Load Calendar Settings - On Startup --- Edit Configuration Here ---" script ($$sc_DefaultTime, $$sc_MinTime, etc.). The trick here is that these settings are only exported to the calendar during the initial startup, so you'll need to run the "Upon Opening" script whenever a user changes one of these options in your sidebar, then set the appropriate variables in the "Load Calendar Settings..." script based on the values set in the sidebar. You'll also need to make sure the $$sc_ClearUserSettings variable in that file is set to True, or the settings saved in the browser's local storage will override the settings specified in this script. Likely, you already have that set to True, as that's the default. I hope that helps! KC |
|
2 posts
• Page 1 of 1
Return to DayBack Calendar for FileMaker
Who is online
Users browsing this forum: Google [Bot] and 3 guests