Google Sync Link

Home Forums Calendar Products Events Calendar PRO Google Sync Link

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1288700
    Ryan
    Participant

    I am working on creating a google sync link using: https://calendar.google.com/calendar/render?cid=

    If I add this to the link before the ical export link, from your system, found on the month view (after changing the url from https to http) it works

    So what I am trying to do is clone then replace the https found in the original ical link coming from the events calendar and change it to https://calendar.google.com/calendar/render?cid= but my jquery doesn’t seem want to work.

    Any thoughts or ideas on what i can do to achieve my goals?

    Here is the jquery I was trying to use

    var create_gcal_sync = function(){
    $("a.tribe-events-ical.tribe-events-button").clone().prop({ id: "gcal-sync"}).insertAfter('a.tribe-events-ical.tribe-events-button');
    $('#gcal-sync').each(function(){
    	var newurl = $(this).attr('href').replace('https','https://calendar.google.com/calendar/render?cid=http');
    	$(this).attr('href', newurl);
    });
    }
    create_gcal_sync();
    • This topic was modified 6 years, 10 months ago by Ryan.
    #1289453
    Shelby
    Participant

    Hi Ryan,

    Thanks for reaching out, I’d be happy to help. ๐Ÿ™‚

    I think I understand, but just to clarify, could you explain what the final result of this will do? I want to make sure I’m able to giveย the most relevant information possible for this topic. ๐Ÿ™‚

    I look forward to your response!

    Thanks,

    Shelby ๐Ÿ™‚

    #1289538
    Ryan
    Participant

    I would ideally like to add another button next to the add to calendar button that says “sync with gcal”

    This button should have https://calendar.google.com/calendar/render?cid=http pretended to the iCal link your system creates.

    If you do this, add this prepended URL and the iCal Link, the page will open up in a users g cal and ask to sync this calendar.

    This is what I need to achieve. I need to giver users he ability to gcal sync a calendar.

    Please note I’m trying to use the https as the find, and replace it with https://calendar.google.com/calendar/render?cid=http

    The last http in this line needs no “s” otherwise google will throw an error.

    #1290436
    Shelby
    Participant

    Hi Ryan,

    I’ll do what I can to help you out here. Unfortunately, this kind of request would require some customization that we can’t support here on the forums, as the forums are reserved for resolving issues with our built in features and options, and fielding bug reports.

    If you’d like to try and make this kind of customization yourself, We have some resources for doing that here. If you need to find someone to help with the customizations, we also have some tips for finding help here.

     

    Let me know if I can be of more help here or clarify anything in those resources!

    Best,

    Shelby ?

    #1300577
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Google Sync Link’ is closed to new replies.