Can Google Calendar be One-Boxed?


(xiasummer) #1

I’ve read the Google-Calendar plugin post, but it is now not working anymore.

I’ve seen the Google Maps One-Box, it works perfectly now.

I really wander if Google Calendar can work with One-Box ??


Embed Google Calendar plugin
(Tom Newsom) #2

Yes it works, but the embed only appears if you take the plain URL from the “Embed This Calendar” box in Gcal settings

If you click on “Customize etc.” and paste the long URL with all the parameters separated with “&” then the important bit (src=6hnjp743blahblahblah) doesn’t make it through.


(xiasummer) #3

Interesting, I found that in a discourse that has installed the plugin “Google Calendar Onebox” like mine, it does not work. But in a discourse that hasn’t installed plugin “Google Calendar Onebox”, it works.

Seems, google calendar has been integrated in the discourse system.


(xiasummer) #4

Why, Even in this Discourse website, it doesn’t work.

https://calendar.google.com/calendar/embed?src=thuquanters%40gmail.com&ctz=America/Chicago

while in the Chinese Discourse forum meta.discoursecn.org it works.

Why is it?


(xiasummer) #5

And this is all the plugin that I have installed in the forum

Anything wrong?

And I’ve tried discourse 1.6( It works ), discourse 1.7.0 (it works), discourse 1.8(doesn’t work)
And this discourse(meta.discourse.org, doesn’t work)

Well, actually, I don’t know what’s wrong. Maybe because the discourse version? maybe because some plugin conflict.


(Tom Newsom) #6

hmm. I must admit my own discourse installation is not up to date, so this could have broken in the last few months.


#7

I have tested it also in 1.7.2 stable and doesnt work on there anymore. If it was put in there prior to what has changed it will still show but if you edit it or put in a new one it doesnt.

I wonder if this is anything to do with the changes to the gdocs onebox that took place.


(Tom Newsom) #8

literally 5 seconds after updating to 1.8, another moderator edited our calendar page, resulting in a re-cook and now a broken calendar >_<

Haven’t seen a post from @team on this topic, so have an @


(Алексей Копаев) #11

Tell me how to insert Google Calendar into a publication?


(Tom Newsom) #12

Apologies for the necro, but it’s still impossible to embed a google calendar. eg:


(Daniela) #13

And use the iframe instead since there is a setting for embedding (allowed iframes)?

<iframe src="https://calendar.google.com/calendar/embed?height=600&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=it.italian%23holiday%40group.v.calendar.google.com&amp;color=%23125A12&amp;ctz=Europe%2FRome" style="border-width:0" width="800" height="600" frameborder="0" scrolling="no"></iframe>


(Régis Hanol) #14

Sorry about the delay, just pushed a fix (in 2 parts)


Embed Google Calendar
Embed Google Calendar plugin
(Joshua Rosenfeld) #15

Rebuilt the HTML on your post - looks good.


(Régis Hanol) #16

This topic was automatically closed after 46 hours. New replies are no longer allowed.