WordPress.org

Ready to get started?Download WordPress

Forums

My Calendar
[resolved] Calendar mini as widget and standard in page: duplication of calendar (4 posts)

  1. nirgalo
    Member
    Posted 1 year ago #

    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/

  2. nirgalo
    Member
    Posted 1 year ago #

    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.

  3. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    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'.

  4. nirgalo
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.