We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23430
    • 10 Posts
    I’m having problems getting an embedded google calendar to *stay* embedded!

    I’m c&p-ing the following html into the html box of my resource (not using TinyMCE):

    <iframe src="http://www.google.com/calendar/embed?mode=AGENDA&height=600&wkst=1&bgcolor=%23FFFFFF&src=swanbigband%40gmail.com&color=%232952A3&src=b8k4njo8b6pssbbi8jugo7ob88%40group.calendar.google.com&color=%23AB8B00&ctz=Europe%2FZurich" style=" border-width:0 " width="600" height="600" frameborder="0" scrolling="no"></iframe>


    When I save and continue editing I get the following:

    Anscheinend unterstützt Ihr Browser kein JavaScript; dieses ist jedoch für die korrekte Darstellung dieser Seite erforderlich. Die Nur-HTML-Version dieser Seite finden Sie unter: http://www.google.com/calendar/htmlembed?mode=AGENDA&height=600&wkst=1&bgcolor=%23FFFFFF&src=swanbigband%40gmail.com&color=%232952A3&src=b8k4njo8b6pssbbi8jugo7ob88%40group.calendar.google.com&color=%23AB8B00&ctz=Europe%2FZurich

    [The calendar is in German, the message reads "It seems your browser does not support JavaScript; however this is required to disply this page correctly. The HTML-only version of the page can be found at: [link]"]

    When I click preview, the calendar (or rather event list) displays perfectly, as it does when accessing the site from outside. However, if I then navigate away from that page in the Manager and then go back, the entire contents have disappeared and no calendar is displayed either in preview or in the live site. I’m using the latest version of Firefox which has JavaScript fully enabled.

    Does anyone have any bright ideas what’s going on, and how I can get my calendar to stop disappearing?
      • 23430
      • 10 Posts
      I still don’t know why this is happening, but following a post I found from SOttwell, I tried putting the code into a chunk and calling the chunk on the page in question, and it’s worked like a dream. Not a solution, but a good workaround
        • 3749
        • 24,544 Posts
        I have a site with a Google calendar that’s been embedded for a long time and I just checked it and now see the same error message you do in the Manager. I see it in FF, but not in IE7.

        The front end seems fine.
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting