views:

103

answers:

1

Hi,

I have a problem with FullCalendar and Google Calendar. My FullCalendar does not show the Google entries. I need help, please :)

<script type="text/javascript">// <![CDATA[
 $(document).ready(function() {

  var date = new Date();
  var d = date.getDate();
  var m = date.getMonth();
  var y = date.getFullYear();

  $('#calendar').fullCalendar({
    header: {
    left: 'prev,next today',
    center: 'title',
    right: 'month,basicWeek,basicDay'
   }, 
  });
  $('#calendar').fullCalendar({
    events: $.fullCalendar.gcalFeed(
        "http://www.feedurl",
        {
            // put your options here
            className:       'gcal-event',
            editable:        true,
            currentTimezone: 'Europe/Berlin'
        }
    )
});

});
// ]]></script>
<div id="calendar">&nbsp;</div>
A: 

Ah you were right, i did not load the gcal.js, thx :)

Marv