Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6782653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:46:09+00:00 2026-05-26T16:46:09+00:00

FullCalendar is working great apart from 1 issue I’m having. The monthview div which

  • 0

FullCalendar is working great apart from 1 issue I’m having.
The monthview div which loads a calendar in monthview mode, seems to show duplicate holidays loaded in. This happens when I add an event, and then call my calendar bind function, which basically runs the code below.

Has anyone else had a similar issue? It looks like ‘removeEvents’ function is working ok against the data feed which comes from an internal database, but seems to leave the google dates. When the addEventSource is called, it’s adding the same events again.

var googleUkHolidaysFeed = {
    url: 'http://www.google.com/calendar/feeds/uk__en%40holiday.calendar.google.com/public/basic',
    cache: true,
    color: "green"    
};

 $.getJSON(url, {}, function (data) {

        $('#dayview').fullCalendar('removeEvents');
        $('#dayview').fullCalendar('addEventSource', data);        

        if ($("#monthview")[0]) {
            $('#monthview').fullCalendar('removeEvents');
            $('#monthview').fullCalendar('addEventSource', data);
            $('#monthview').fullCalendar('addEventSource', googleUkHolidaysFeed);
        }
    });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:46:09+00:00Added an answer on May 26, 2026 at 4:46 pm

    I resolved this issue myself. The ‘removeEvents’ has to be called followed by ‘removeEventSource’ like so:

    (‘data’ is json array of events provided by the app, ‘googleCalendarUkHolidayFeed’ is the url feed from google).

    var googleCalendarUkHolidayFeed = {
       url: "http://www.google.com/calendar/feeds/bla..."       
    }    
    
    $('#dayview').fullCalendar('removeEvents');    
    $('#dayview').fullCalendar('addEventSource', data);   
    
    if ($("#monthview")[0]) {
        // remove events and re-add event source to reflect search/non-search
        $('#monthview').fullCalendar('removeEvents');  
    
        $('#monthview').fullCalendar('removeEventSource', googleCalendarUkHolidayFeed);
        $('#monthview').fullCalendar('removeEventSource', data);        
    
        $('#monthview').fullCalendar('addEventSource', googleCalendarUkHolidayFeed);
        $('#monthview').fullCalendar('addEventSource', data);        
    } 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using jquery fullcalendar which works great. The one issue I have is
I am working with the FullCalendar module (great, btw) and I'm having trouble populating
I've got a functional fullCalendar http://arshaw.com/fullcalendar/ working retrieving a single source from Google Calendar
I am using jquery fullcalendar and it works great. My events come in from
I am currently using jQuery FullCalendar as a calendar system, and it is working
I am using fullcalendar from arshaw.com/fullcalendar for displaying events on a corporate intranet calendar.
I have created a jquery fullcalendar, pulling the feed from a google calendar and
The jQuery fullCalendar plugin seems to have a problem in the editable mode in
I have a working fullcalendar on my site, however, the actual calendar table doesn't
I am currently working away with FullCalendar, which is pretty cool and has done

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.