Support » Plugin: My Calendar » Calendar mini as widget and standard in page: duplication of calendar

  • Resolved nirgalo

    (@nirgalo)


    I have calendar mini as widget and calendar standard size inside a static page. When I click “Next Events” in either calendar (having Ajax turned on), then a new calendar (duplicate) appears below the one I was using. I am not sure what is wrong, but I noticed both the mini calendar and the calendar in static page had the same id “jd-calendar”.

    http://wordpress.org/extend/plugins/my-calendar/

Viewing 3 replies - 1 through 3 (of 3 total)
  • another thing: if you disable Ajax, the duplicate issue doesn’t occur anymore, however if you play “Next Events”/”Previous Events” randomly on either calendar, sometimes the other calendar gets updated too. I guess this is due to the fact both calendars have the same id and this is confusing JQuery somehow.

    Plugin Author Joe Dolson

    (@joedolson)

    Are you using the latest version of My Calendar’s jQuery scripts? Check the script editor to see – that’s a past bug, but it should be fixed.

    Also, you can pass a unique ID to your calendar, if you need.

    Use the shortcode attribute ‘id’.

    Yes I am using latest version of the scripts. Anyway I have disabled possibility to have both the mini and full calendar on my site now so this is no more an issue for me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Calendar mini as widget and standard in page: duplication of calendar’ is closed to new replies.