In a comment to my previous post Navigation Calendar, I mentioned encountering problems using LiveCalendar when accessing my blog from different domains.
In the followup of comments by Jon (author of livecalendar) and Kae (the orginal kalendar author), we agreed that the problem is caused by a security protection prevent javascript to request calls to "other" sites.
And as I noticed, for many google sites that require ajax, they would redirect you to their perferred domain, thats where I thought a redirection would be a easy fix.
The addition of the redirection script was also a copy and paste from http://www.chami.com/tips/internet/040598I.html
And you get redirected to my preferred url, so LiveCalendar seems to work without problem.
See my modifed kcalendarscript.phps source.
Possible next stop? auto-detection of permalinks for LiveCalendar.


0 Responses to “Easy workaround/fix for an AJAX problem”
Leave a Reply