Hi I have this section of code which works fine and displays two calendars into one calendar. I also have a php
variable $login_session
which contains the user who is logged in email address.
Any idea on how I would display example@hotmail.com
calendar
(Pseudo code)
IF $login_session == "example2@hotmail.com"
ELSE $login_session == "example3@hotmail.com"
display the en.uk#holiday@group.v.calendar.google.com
calendar? Can this even be done?
Any help is appreciated
googleCalendarApiKey: 'AIzaSyDcnW6WejpTOCffshGDDb4neIrXVUA1EAE',
eventSources: [
{
googleCalendarId: 'example@hotmail.com',
},
{
googleCalendarId: 'en.uk#holiday@group.v.calendar.google.com'
}
],