| Issue 60: | Example | |
| 3 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1.I don't add day or remove.. should you show me many examples with using addEventSource and removeEventSource? ... What is the expected output? What do you see instead? What version of the product are you using? On what operating system? 1.2.1 Please provide any additional information below.
Dec 23, 2010
Hi adam, im trying to do the same thing but when i call the func ( gcalFeed ) an error appear saying that "isnt a function".
code below:
var x = $('#calendar').fullCalendar.gcalFeed("pag_aux.php?acao=pop&user=pac&cd=1");
My situation:
i set all the events in the option => events : "pag_aux.php?acao=pop&user=pac&cd=1",
but, when the user do a specific thing i need change all the events.
Thx,
Dec 31, 2010
instead of:
var x = $('#calendar').fullCalendar.gcalFeed("pag_aux.php?acao=pop&user=pac&cd=1");
do:
var x = $.fullCalendar.gcalFeed("pag_aux.php?acao=pop&user=pac&cd=1");
if you need any more help, please use stackoverflow
|
|
| ► Sign in to add a comment |
var myEventSource = function(start, end, callback) { // a custom function that returns events // see http://arshaw.com/fullcalendar/docs/#event-feeds-and-sources }; ...OR a gcal feed... var myEventSource = $.fullCalendar.gcalFeed("http://www.google.com/calendar/feeds/..."); ...THEN, add/remove the source.... $('#calendar').fullCalendar('addEventSource', myEventSource); $('#calendar').fullCalendar('removeEventSource', myEventSource); ... i agree with you, the docs should be better. hopefully soon, i'll re-work all the docs and give fullcalendar a better website. thanks