My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 60: Example
3 people starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Jul 2009


Sign in to add a comment
 
Reported by igora...@gmail.com, Jul 15, 2009
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.

Jul 18, 2009
Project Member #1 adamrs...@gmail.com
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
Status: Done
Dec 23, 2010
#2 chico_fe...@hotmail.com
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
Project Member #3 adamrs...@gmail.com
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

Powered by Google Project Hosting