Support on 11 Aug, 2017 04:40 PM
Hi Shweta Senjaliya,
Thank you for your interest in FMCalendar.
1. Display of events from different table and different users
Yes, you can use your on table, instead of our events table. You can change the custom function that gets all the events. You can use your own fields, or add additional fields.
Also for the calendars/users you can use your on table. Easier is to link your users table, with the table of the calendars, via a one-to-one relation.
2. Mainly the events are dates based and not time based, how can we avoid display of time mainly in day or week view.
FMCalendar supports one day events. By modifying the custom function that gets the the events, you can set a fixed value for that option, so that you events don’t need time, or don’t need an end date for instance.
Support on 17 Aug, 2017 01:45 PM
> 1. Can we display events from multiple tables under one calendar
Theoretically, yes. But I advise you to keep one table as the main events table, where each record relates to one record of your other tables.
e.g. If you have 100 records in your table “birthdates”, and 200 record in your table “meetings”, the “events" table will have 300 records, where each record is linked to 1 birthdate or to 1 meeting record.
The fields and data can come directly from your tables.
> 2. Can we remove the time display section (like shown below) and just have all day section?
I forwarded your mail to our developer to cross check if this is possible. He is currently on holiday, so it could take some time before he answers.
myFMbutler on 03 Oct, 2017 09:06 AM
Sorry for my late reply.
You said that you needed documentation in order to integrate FMCalendar in your own file ; we now have a clearer version of the install guide, linked to this comment.
Be sure to follow each step in the right order !
It is indeed possible to display the "allDay" part only ; in order to do this, follow these steps :
Edit the CalendarView layout
Edit the "Week" button, edit the "navView" script parameters (with the button on the right), and change the "agendaWeek" value to "basicWeek"
Edit the "Day" button, edit the "navView" script parameters (with the button on the right), and change the "agendaDay" value to "basicDay"
Go to the custom functions (File > Manage > Custom Functions… )
Edit the FMcalEventsArray function
Change the "_view = "agendaWeek" ;" to
_view = "agendaWeek" or _view = "basicWeek" ;
Change the "_view = "agendaDay" ;" to
_view = "agendaDay" or _view = "basicDay" ;
You will now have to edit some scripts :
navView : Line 11, change the Set Field [prefsUser::navView ; "agendaWeek" ] to
Set Field [prefsUser::navView ; "basicWeek" ]
navDateChange : Lines 26 and 39, change the Else If [prefsUser::navView = "agendaWeek"] to
Else If [prefsUser::navView = "agendaWeek" or prefsUser::navView = "basicWeek" ]
navDateChange : Lines 28 and 41, change the Else If [prefsUser::navView = "agendaDay"] to
Else If [prefsUser::navView = "agendaDay" or prefsUser::navView = "basicDay" ]
onOpen : Lines 104, change the Perform Script ["navView" ; Parameter: "agendaWeek" ] to