embed google calendar into article

Need help with the Administration of your Joomla! 1.5 site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
whatch
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Fri Mar 06, 2009 12:58 pm

embed google calendar into article

Postby whatch » Thu Sep 30, 2010 4:11 pm

All I want to do is embed a google calendar into the body of an article. I don't want to use gcalendar or any other extension. I have calendars set up as wrappers in menus, but can't figure out how to get a google calendar into an article. Thanks.

User avatar
jmuehleisen
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4874
Joined: Thu Nov 09, 2006 2:46 pm
Location: Kampala, Uganda
Contact:

Re: embed google calendar into article

Postby jmuehleisen » Mon Oct 04, 2010 12:38 am

There are several ways to do this.

First of all, Google gives you the code to embed in your article that will put the calendar in there for you.

Normally you would have to switch to <html> view to put the embed code, but extensions like Sourcerer and Jumi do make it a lot easier.

But, you can do it just using the Joomla editor if don't want to use any extensions.

So, edit your article. At the place you want to embed the Google Calendar code, switch to <html> or <source code> view ... paste the code that Google gives you (it's a basic "iframe" code) and then save your article, That should do it for you.
John Muehleisen
Visit my "Getting Started with Joomla" site, now with videos, tips, and new user tutorials:  http://welcometojoomla.com

whatch
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Fri Mar 06, 2009 12:58 pm

Re: embed google calendar into article

Postby whatch » Mon Oct 04, 2010 1:39 pm

I downloaded Sourcerer and installed. But, I can't get it to work. Here is my iframe code from Google:

<iframe src="https://www.google.com/calendar/embed?mode=AGENDA&amp;height=600&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=anwsu.org_2d3835363737353435373236%40resource.calendar.google.com&amp;color=%232F6309&amp;src=anwsu.org_cr8b2baqfpldni0h8etd8lcr9g%40group.calendar.google.com&amp;color=%23691426&amp;src=vergenneselementary%40anwsu.org&amp;color=%23853104&amp;src=lsprague%40anwsu.org&amp;color=%238C500B&amp;ctz=America%2FNew_York" style=" border-width:0 " width="400" height="600" frameborder="0" scrolling="no"></iframe>

When I click the "insert code" button and place that code between the two instances of "source" it just displays the code in the article. It doesn't actually show the calendar. What am I missing here?

User avatar
jmuehleisen
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4874
Joined: Thu Nov 09, 2006 2:46 pm
Location: Kampala, Uganda
Contact:

Re: embed google calendar into article

Postby jmuehleisen » Mon Oct 04, 2010 1:58 pm

I'm not sure, but make sure that you "enabled" the Sourcerer plugin.

Go to Extensions -> Plugin Manager. Find the Sourcerer plug in and make sure that it is "enabled."

Let us know how it goes.
John Muehleisen
Visit my "Getting Started with Joomla" site, now with videos, tips, and new user tutorials:  http://welcometojoomla.com

User avatar
Ron S
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 171
Joined: Sun Aug 08, 2010 2:54 pm
Contact:

Re: embed google calendar into article

Postby Ron S » Mon Oct 04, 2010 3:53 pm

whatch wrote:All I want to do is embed a google calendar into the body of an article. I don't want to use gcalendar or any other extension. I have calendars set up as wrappers in menus, but can't figure out how to get a google calendar into an article. Thanks.


Go to Google Gadgets For Your Webpage http://www.google.com/ig/directory?synd=open&hl=en&gl=&q=calendar, select the gadget format that you required, click the tab "Add To Your Webpage", Change the Display Settings & Gadget Settings till you are satisfied with the preview. Then click on "Get The Code", copy the HTML code provided. Login to your Joomla admin, open the article, click on the HTML icon, insert the Gadget HTML code into the body of the article. Click update. After updated, click save.
DoBizOn9 - Consolidated Online Business Startup Guide: Online Business Ideas | Online Business Opportunity | Online Jobs . Include JOOMLA GUIDE at http://www.dobizon9.com/webdesigning/cms/joomla.html

User avatar
deck2deck
Joomla! Explorer
Joomla! Explorer
Posts: 281
Joined: Fri Feb 03, 2006 3:23 pm
Location: Georgia, United States

Re: embed google calendar into article

Postby deck2deck » Wed Sep 28, 2011 1:40 pm

I'm trying to do exactly the same thing as this poster... however, when I save the article, the html disappears. It happens every time. I've tried turning off the editor (as suggested in other posts) but that also turns off the html option.

Help! This should be simple but so far has taken hours of my time. I've even tried an Extension, which didn't work, so I'm back to trying to do it the old-fashioned way.

Any suggestions? Thanks!!
Be part of the solution -- not part of the problem.

User avatar
jmuehleisen
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4874
Joined: Thu Nov 09, 2006 2:46 pm
Location: Kampala, Uganda
Contact:

Re: embed google calendar into article

Postby jmuehleisen » Wed Sep 28, 2011 3:58 pm

By default, the Tiny MCE editor does indeed "clean up" your html code (especially iframes / wrappers) which have some inherent risk.

So, in Joomla 1.5, be sure that you have turned off the "cleanup html" in the editor plug-in.

Extensions -> Plug-in manager -> Editor - Tiny MCE

Likewise, go to the article manager and click on the "Parameters" option in the upper right corner.

Scroll down near the bottom and set "super-admin" (or whatever level you are) to be "No html filtering."

See if that makes a difference for you.
John Muehleisen
Visit my "Getting Started with Joomla" site, now with videos, tips, and new user tutorials:  http://welcometojoomla.com

User avatar
deck2deck
Joomla! Explorer
Joomla! Explorer
Posts: 281
Joined: Fri Feb 03, 2006 3:23 pm
Location: Georgia, United States

Re: embed google calendar into article

Postby deck2deck » Wed Sep 28, 2011 4:28 pm

Thanks jmuehleisen for trying to help. I've set everything as you suggested; still doesn't work. I can see the calendar in the article until I save it; then it disappears, even with all the html code settings set as directed.

Any other ideas?? :/
Be part of the solution -- not part of the problem.

User avatar
jmuehleisen
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4874
Joined: Thu Nov 09, 2006 2:46 pm
Location: Kampala, Uganda
Contact:

Re: embed google calendar into article

Postby jmuehleisen » Wed Sep 28, 2011 4:37 pm

Well, something (obviously) is cleaning up the code for you.

Which editor are you using? Tiny MCE or JCE? (the JCE settings are elsewhere if you are using that editor).
John Muehleisen
Visit my "Getting Started with Joomla" site, now with videos, tips, and new user tutorials:  http://welcometojoomla.com

User avatar
deck2deck
Joomla! Explorer
Joomla! Explorer
Posts: 281
Joined: Fri Feb 03, 2006 3:23 pm
Location: Georgia, United States

Re: embed google calendar into article

Postby deck2deck » Wed Sep 28, 2011 4:50 pm

I've tried every editor that I have installed, which are/is several: Tiny MCE, JoomlaCK, JoomlaFCK, JCE 1.5.6, and No Editor. I've tried with all 3, but most recently with Tiny MCE after following your instructions for turning off the html cleaning.

I wonder if I need to disable all the other editors first under Plugins rather than in Global Config? I would think that if an editor wasn't 'turned on' in GC then it wouldn't have any effect, but I guess it's worth a shot unless you have another idea.
Be part of the solution -- not part of the problem.

User avatar
jmuehleisen
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4874
Joined: Thu Nov 09, 2006 2:46 pm
Location: Kampala, Uganda
Contact:

Re: embed google calendar into article

Postby jmuehleisen » Wed Sep 28, 2011 5:02 pm

Hmmm.

Check if you have specified a default editor for yourself in the user manager (it should be set to "Select Editor")
John Muehleisen
Visit my "Getting Started with Joomla" site, now with videos, tips, and new user tutorials:  http://welcometojoomla.com

User avatar
deck2deck
Joomla! Explorer
Joomla! Explorer
Posts: 281
Joined: Fri Feb 03, 2006 3:23 pm
Location: Georgia, United States

Re: embed google calendar into article

Postby deck2deck » Wed Sep 28, 2011 5:57 pm

Thanks... it is set to -Select Editor- (meaning no editor is selected).

I also disabled ALL the other editors in my Plugins manager, even though I don't think that would affect anything.

Still no dice.

I had already searched for "html disappears" in this forum prior to posting on this thread, but none of the suggestions I found worked.

I agree with you -- *something* is stripping the html, but what? If you have any other ideas, I'm all ears. Thanks so much for spending your valuable time trying to help me. :)
Be part of the solution -- not part of the problem.

User avatar
jmuehleisen
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4874
Joined: Thu Nov 09, 2006 2:46 pm
Location: Kampala, Uganda
Contact:

Re: embed google calendar into article

Postby jmuehleisen » Wed Sep 28, 2011 6:36 pm

Hmmm. You are doing everything that I would do.

My only suggestion is go back and double check everything, but I suspect you've already triple checked it.
John Muehleisen
Visit my "Getting Started with Joomla" site, now with videos, tips, and new user tutorials:  http://welcometojoomla.com

SpiketheFerret
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Nov 09, 2011 9:07 pm

Re: embed google calendar into article

Postby SpiketheFerret » Wed Nov 09, 2011 9:23 pm

I've had this problem since I started using 1.7, in 1.5 I had no problem getting it done by disabling the editor, but anyhow this is the only way I have been able to get it to work in 1.7(and I assume 1.6 is the same)

What I had to do was edit the table in mysql and put the embed code there. In my case I wanted the google calendar embedded in a category page, so i added the embed code <iframe src="blahblahblah"</iframe> into the description field for the category i wanted it in... for categories they are in xxxxx_categories, for articles I believe you can find it in xxxxx_content in mysql and past the code in the intotext or fulltext field(i haven't tried doing it in an article myself so i'm speculating here).

Anyhow, putting the code into the db itself is the only way I have been able to embed google calendars into a page. I've tried endless editors and the code is always stripped out when I hit save, hope this helps ya.

One caveat to this is if you go to edit the article/category after, it will strip out the code again; so you'll want to do the calendar last, or you will have to edit the db again to replace it.

cheyennemtnman
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Fri Nov 21, 2008 11:45 pm

Re: embed google calendar into article

Postby cheyennemtnman » Mon Feb 20, 2012 5:59 am

Seriously that is the only way to do it? Hard to believe!

mush2004
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Mar 02, 2012 1:30 pm

Re: embed google calendar into article

Postby mush2004 » Fri Mar 02, 2012 1:33 pm

Hi
I have the same problem in Joomla 2.5, so far I have spent a day on it. Have checked everything and still no chance. Is it possible that there is a bug in Joomla?

Any Help greatly appriciated!

mush2004
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Mar 02, 2012 1:30 pm

Re: embed google calendar into article

Postby mush2004 » Fri Mar 02, 2012 1:42 pm

Ok, i found it! iFrame was disabled under the plugin properties. it works fine now...
You do not have the required permissions to view the files attached to this post.

User avatar
purplenova
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Wed Feb 15, 2012 5:20 pm
Location: Ohio
Contact:

Re: embed google calendar into article

Postby purplenova » Mon Mar 19, 2012 7:36 pm

mush2004 wrote:Ok, i found it! iFrame was disabled under the plugin properties. it works fine now...



Having the same problem - where exactly did you correct this please. Can't find it... :-[

Upon further investigation I found it in the Plugin Manager .... Editor - TinyMCE
Thanks,
Tom

sakuramann
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Sat Nov 12, 2011 8:37 pm

Re: embed google calendar into article

Postby sakuramann » Fri Apr 05, 2013 9:42 pm

You can create the iframe wrapper menu. Enter url as "https://www.google.com/calendar/embed?src=~" but without quotation marks. I am still to investigating how to adjust the size, but without any style codes, it appears to be fine.


Return to “Administration 1.5”

Who is online

Users browsing this forum: No registered users and 10 guests