Home › Forums › Calendar Products › Events Calendar PRO › Google Sync Link
- This topic has 5 replies, 2 voices, and was last updated 6 years, 9 months ago by Ryan.
-
AuthorPosts
-
May 24, 2017 at 8:30 pm #1288700RyanParticipant
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.
May 26, 2017 at 9:03 am #1289453ShelbyParticipantHi 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 ๐
May 26, 2017 at 9:39 am #1289538RyanParticipantI 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.
May 29, 2017 at 12:17 pm #1290436ShelbyParticipantHi 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 ?
June 20, 2017 at 9:35 am #1300577Support DroidKeymasterHey 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 -
AuthorPosts
- The topic ‘Google Sync Link’ is closed to new replies.