• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CLOSED -Fetching json data for Fullcalendar

#1
[eluser]tacowaco[/eluser]
Hi all,

I have a controller that echo's out the following json encoded text:
Code:
{"id":"123456","title":"fred blogs","start":"2012-11-07"}
and the controller is called from within the calendar as
Code:
$('#calendar').fullCalendar({
  header: {
   left: 'prev,next',
   center: 'title',
   right: ''
  },
  editable: true,
      eventSources: [

                      {
                          url: 'http://#######.com/json',
                        }
                    ]
});
The problem is that nothing shows up however if I put an event into the calender code it shows without any issues. Hoping someone with experience with fullcalendar can spot my mistake.
Thanks for your time.
Martin

Answer to this issue found at:
http://stackoverflow.com/questions/96371...-does?rq=1

Another few hours wasted, hey ho!


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.