Extension talk:Google Calendar

a screenshot will follow, as soon as i can upload images Tuwan 17:08, 29 July 2008 (UTC)

Private Calendar Support
I modified the renderGoogleCalendar function so that it could take a private calendar URL in HTML format. See Google Calendar > Settings > Calendars > Share this calendar > Calendar Details > Private Address. Right-click "HTML", save the link and then paste it into your wiki, between the tags.

Your wiki code should look something like this:

http://www.google.com/calendar/embed?src=googleusername@gmail.com&ctz=America/Vancouver&pvttk=1142456efbddf354652c7189

Here's the code that you need. In your extensions/googleCalendar.php file, replace the renderGoogleCalendar method with:

function renderGoogleCalendar($input) { $input = htmlspecialchars($input); //$input = "6444586097901795775" $width = 425; $height = 350; $output = ' '; if ($input) {			$output = ' '; }		if (strcmp(substr($input, 0, 3), "http")) {			$output = ' '; }

/*

$output = ' '; */       return $output; }

--Iwoj 00:43, 19 November 2008 (UTC)