AZ-Touring_340x70.jpg
Kuwa_340x70.jpg
JapanSailing_340x70.jpg
SolarWindTech_340x70.jpg
JapanTouring_340x70.jpg
Which Domain Echoes Your Passion?!
Take Control of Your Life with a New Career Now!

Embedding a Google Calendar on your Joomla website can sometimes be an attractive addition to a website. You can find paid for apps on the Joomla.org website, but I decided to give it a try using a little help from chatGPT account.

Let's go through a scenerio. Jack is registered on website A as a member. He has also been given editorial rights to the website's google calendar account. Jack logs into website A and views an embedded google calendar. He notices that an event needs to be scheduled or edited. A modal popup link is provided. The link directs to the website's google calendar. Jack logins to his Google Calendar account and then schedules a new event or edits an existing one and saves it. He closes the popup and returns to the company's website, confirms that the changes are visible and continues on with his job.

 

The Scenario Recap (with Clarifications)

1. Jack is registered on Website A

  • Jack has authenticated on Website A as a member (could be via Google login or regular account).
  • He has editorial rights to the company's Google Calendar. (This means he's already been granted edit permissions on the calendar within Google Calendar, not just on the website.)

2. Jack logs into Website A and views an embedded Google Calendar

  • If the calendar is embedded via iframe, Jack can view the events, based on the calendar's sharing permissions and whether he's logged into his Google account in the same browser session.

3. Jack notices something needs to be scheduled or edited

  • You have a modal popup link that redirects him to the actual Google Calendar interface, likely opening:
    • A direct link to the calendar
    • Or a specific event editor screen

4. Jack logs into his Google Calendar account (if not already logged in)

  • If Jack isn't already signed in to his Google account in the browser, he will be prompted to sign in.
  • Once signed in, Jack can:
    • Create new events
    • Edit existing events
    • Delete events (if his permissions allow)

➡️ Because Jack has editorial rights, he has full control.


5. Jack saves his changes, closes the popup, and returns to the embedded calendar

  • Once Jack saves changes in Google Calendar, the updates are:
    • Instantly reflected on the Google Calendar itself
    • And will refresh/show in the embedded iframe calendar (though sometimes a browser cache refresh is helpful)

➡️ If the embedded calendar auto-updates or reloads, Jack sees his changes.


Summary of the Workflow

StepDescriptionRequired Conditions
1 Jack logs into Website A Website handles authentication
2 Jack views the embedded calendar Calendar sharing set appropriately (public or shared with Jack’s Google account)
3 Jack clicks a link to edit Modal or link points to Google Calendar UI, not just the embed
4 Jack logs into his Google account Jack must be logged into Google with editorial rights granted beforehand
5 Jack edits/saves events Changes sync live on Google Calendar
6 Jack sees the updates reflected in the embed Embed refreshes/updates, reflecting Jack's edits

Technical Points That Make It Work

  • Google Calendar sharing permissions must already give editor rights to Jack’s Google account.
  • The embedded calendar on the website is read-only (an iframe can't be used to directly add/edit events).
  • The editing happens in Google Calendar's official interface, not within the website's embed.

❗ Optional Enhancements (if you want a more seamless experience)

If you ever want Jack to:

  • Create or edit events directly from Website A without going to Google Calendar
  • Stay fully inside your website environment

➡️ You'd need to integrate the Google Calendar API with OAuth 2.0, allowing your website to:

  • Act on Jack’s behalf (once authorized)
  • Add/edit/delete events programmatically inside your own UI (no popup to Google Calendar needed)

But for the scenario you described—using the official Google Calendar UI via popup/modal—it works exactly as you wrote it.


TL;DR

Yes, your scenario works!

  • Jack logs into the website.
  • Views the calendar (embedded iframe).
  • Clicks a link/modal to Google Calendar.
  • Logs into his Google account (if needed).
  • Edits events (since he has rights).
  • Returns and confirms changes on the website’s embed.