My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1201: JSON feed: suggestion for documentation
2 people starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Aug 2013


Sign in to add a comment
 
Reported by kouna...@gmail.com, Dec 3, 2011
Hello

I spent 30 minutes troubleshooting my JSON feed only to find out it was a relative path issue. FullCalendar seems to look in the same dir as itself for a local feed path.

Ultimately I was unable to find a relative path that worked for me after a few trials. This would be desired:
url: '../../calendar_events.php?marker_id=1',

But I had to do this (for the time being, anyhow):
url: 'http://localhost/map3/calendar_events.php?marker_id=1'

This is isn't a FullCalendar issue per-se, but just would be nice if you could explain relative paths in the the feed documentation =).

Like on this page:
http://arshaw.com/fullcalendar/docs/event_data/events_json_feed

Dec 9, 2011
#2 kouna...@gmail.com
Strange, I am successfully using a relative path on my work computer. I will re-confirm and see if this has to do with XAMPP local server configuration. Or maybe it's just me.....
Aug 14, 2013
Project Member #3 adamrs...@gmail.com
the path should be relative to the html *page* that is running, not the JS script. the path problem you had was probably on your end.
Status: WontFix
Sign in to add a comment

Powered by Google Project Hosting