Home › Forums › Calendar Products › Events Calendar PRO › Add to calendar in custom emails & third party plugins
- This topic has 7 replies, 2 voices, and was last updated 8 years ago by
ccg2017.
-
AuthorPosts
-
March 6, 2018 at 5:36 am #1470872
ccg2017
ParticipantWe’re using Events Calendar Pro with a custom setup involving Ninja Forms, and we want to be able to add the “Add to calendar” (Google/ICAL) links within the form confirmations and messages. Is there a way to pull that easily or would we need to build the required links with all of the values from the event? (This page outlines what we’d need to include, for instance: https://stackoverflow.com/questions/10488831/link-to-add-to-google-calendar.)
For instance, we’re using
{post_meta:event_time}and similar to display event values in Ninja Forms.Any help on this would be greatly appreciated as we haven’t been able to track down a solid answer.
March 6, 2018 at 6:11 am #1470905ccg2017
ParticipantI should add that the post_meta above is accomplished with merge tags. I can build the calendar links with a merge tag, but I wanted to see if there was a better solution.
As an alternative too, if there’s a way to use
tribe_get_single_ical_linkoutside the loop, that would work.-
This reply was modified 8 years, 1 month ago by
ccg2017. Reason: More details
March 7, 2018 at 2:17 am #1471915Andras
KeymasterHi Lindsey,
First, please let me note that we are fairly limited in how much support we can give for custom development questions like that.
Even so, we’d love to help you if we can. We do need to prioritize requests from other customers right at this time but I’ll certainly flag this with the team and – although we can’t make any promises – if we have time and space to come back and help we’ll be happy to do so.
In the meantime, if there is any more information you can share (including mocks) that will help us to better understand what you are seeking please do feel free to add them to this ticket.
If you urgently need help with this, however, you may instead wish to consider working with a suitably skilled developer or designer who can offer the additional level of support you require.
Thanks!
Andras
March 7, 2018 at 2:20 am #1471918Andras
KeymasterMeanwhile I also got some info from a colleague.
If you need to use a function that is meant to be used in the Loop, outside of it you do this:
setup_postdata($id); // the post I need
// here run Loop functions
reset_post_data(); // and restore the loop to its original stateIf Loop functions are correctly written this works.
Hope this helps you to get started. Would be happy to hear back.
A.
March 7, 2018 at 9:09 am #1472358ccg2017
ParticipantThanks, András. I appreciate the tip on this. I’m testing this now and I’ll let you know how it works out.
March 7, 2018 at 12:44 pm #1472615Andras
KeymasterEager to hear! 🙂
March 29, 2018 at 9:35 am #1491889Support Droid
KeymasterHey 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 -
This reply was modified 8 years, 1 month ago by
-
AuthorPosts
- The topic ‘Add to calendar in custom emails & third party plugins’ is closed to new replies.
