views:

200

answers:

1

I have seen how to add google calendar, but when I run it, it create's a new calendar, even though the selector I am using, refer's to an existing calendar.

        $calendar.fullCalendar({
        events: $.fullCalendar.gcalFeed($feed_url.val())
    });

I have other functions, that use renderEvents, but I am not sure how to use that with google calendars...

Any thoughts or suggestions?

Thank You.

+2  A: 

Look at the addEventSource function. If you can call that function with your $.fullCalendar.gcalFeed($feed_url.val()) as the second argument. I tested it over at jsfiddle.

AdmSteck
Thank you, that seems to be working! :)
crosenblum
But if I am going to be able to remove these dynamically, and style them, I need to add a class, and have an id associated with the event, how do i do that?
crosenblum
You can still use the second parameter of the `gcalFeed` function to pass your options including className, editable, and currentTimezone.
AdmSteck