Google Calendar Extension

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

Google Calendar Extension

Postby hansfn » Fri Aug 13, 2010 12:15 am

This is the discussion topic for the Google Calendar extension.

Visit http://extensions.pivotx.net/entry/24/googlecalendar for more info or download.
hansfn
Developer
 
Posts: 3280
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: Google Calendar Extension

Postby skool86 » Wed Aug 18, 2010 7:55 pm

Hey there...

I got a little problem with that Google Calendar Extension.

It does not show the correct date nor the time of the events...

It looks like this:
Image

Can you give me some advise to fix this?

Thanks a lot for PIVOTX!!!

btw: I'm using the final 2.1 version and the extension is from 2010-05-19.
skool86
 
Posts: 2
Joined: Mon Aug 16, 2010 8:13 pm

Re: Google Calendar Extension

Postby hansfn » Wed Aug 18, 2010 8:46 pm

As long as you don't provide the ID for the calendar, it's impossible to debug it. It works for me. (If you don't want to post the ID on the forum, e-mail it to hansfn@pivotx.net)
hansfn
Developer
 
Posts: 3280
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: Google Calendar Extension

Postby skool86 » Thu Aug 19, 2010 7:13 pm

Thanks to hansfn we figured out, that this is a server side problem which can only be fixed by my host.
The following two calls in the calendar.php are causing the trouble on my server:

Code: Select all
$date_start = date("Y-m-d-H-i-s", strtotime($item['gd']['when@starttime']));
$date_end = date("Y-m-d-H-i-s", strtotime($item['gd']['when@endtime']));


It's a pitty that I get wrong results.
But anyway: thanks for the great support!
skool86
 
Posts: 2
Joined: Mon Aug 16, 2010 8:13 pm

Re: Google Calendar Extension

Postby nicklnro » Sat Apr 02, 2011 5:30 pm

Is there a way this extension might work with a pop-up when I click on an event shown on my blog, instead of taking me to the google calendar page where is my event (with the rest of the info)? Something like fancybox would be just great. I would like to add google calendar as a sidebar column named "Coming Events" and when users click on an event to have it shown in a pop-up window.

Thanks!
nicklnro
 
Posts: 2
Joined: Fri Jun 12, 2009 5:33 am

Re: Google Calendar Extension

Postby hansfn » Fri Apr 08, 2011 9:14 pm

Sorry about the late reply.

If it hadn't been for the recent improvement in security (to avoid clickjacking) we could have just use a simple iframe with a special CSS class and Fancybox (through the Fancybox extension). Now you have to open a new window using a JavaScript onclick event.

In the settings for the extension, change the "Output format" to:

Code: Select all
<li><a onClick='window.open("%link%", "", "toolbar=no,resizable=yes,scrollbars=yes,width=500,height=200"); return false;' href="%link%">%title%</a> -
<span class='date'>%date_start%-%date_end%</span></li>
hansfn
Developer
 
Posts: 3280
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Google Calendar Extension does not show

Postby Suffie » Sun Dec 11, 2011 1:53 pm

Hi there!

Anyone know what this means??

Warning: MagpieRSS: Failed to fetch http://www.google.com/calendar/feeds/ve ... vents=true (HTTP Response: ) in /mounted-storage/home110a/sub003/sc29147-RBZU/gekvanliefde.nl/pivotx/includes/magpie/rss_fetch.inc on line 239
Suffie
 
Posts: 16
Joined: Fri Nov 04, 2011 11:39 am

Re: Google Calendar Extension

Postby Harm10 » Sun Dec 11, 2011 2:40 pm

Not sure whether it is the reason of your warning..... But if you click on the link this message is shown
Code: Select all
Voor deze agenda is geen toegang voor openbaar ingesteld. Als je de eigenaar van deze agenda bent, kun je de agenda openbaar maken op de pagina met instellingen voor het delen van agenda's.
which seems to point that no public access is allowed?
Please specify your PivotX release and Google Calender version if more research is needed.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2010
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Google Calendar Extension

Postby Suffie » Sun Dec 11, 2011 5:43 pm

Harm, that did the trick!!

Thankx!
Suffie
 
Posts: 16
Joined: Fri Nov 04, 2011 11:39 am

Re: Google Calendar Extension

Postby hansfn » Fri Sep 13, 2013 7:31 am

I have just released version 1.1 of this extension. Finally you can merged multiple calendars (just by entering a comma-separated list of calendar IDs).

PS! The extension documentation has always claimed that you could display entries from multiple calendars, but that was a lie until today ;-)
hansfn
Developer
 
Posts: 3280
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Next

Return to 2.x Extensions

Who is online

Users browsing this forum: No registered users and 3 guests

cron