Home › Forums › Calendar Products › Events Calendar PRO › iCal Link in Custom Loop
- This topic has 4 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
October 1, 2013 at 8:15 pm #68714
Patrick Sasser
ParticipantWhen I run this code
It doesn’t generate the correct iCal links to the specific events, instead it generates an iCal link to the entire calendar. I had this issue before and the solution I tried there didn’t fix it. https://tri.be/support/forums/topic/ical-link-isnt-correct-for-single-event/. You can see the code in action on this page http://thecrossingchurch.com/events. It is on the upcoming events section. The code I posted above is a much simpler version of what is used on this page, but even when I simply it to the above code it still doesn’t work.
October 2, 2013 at 5:10 pm #68908Barry
MemberHi psasser,
This partly hinges on Javascript (the link is transformed after delivery to the web browser) and for that reason you’d need to ensure that at least tribe-events-pro.js or its minified equivalent, plus any scripts it depends upon, are enqueued on the same page as your custom loop output.
Hope that helps!
October 2, 2013 at 5:59 pm #68914Patrick Sasser
ParticipantOk I added this code into the functions.php file of my site
http://pastebin.com/T4nAC1vM
But it still isn’t working. The link was transformed from this…
http://thecrossingchurch.com/calendar/ical
to this…
http://thecrossingchurch.com/events/?ical=1&tribe_display=
I expected the link to look like this
http://thecrossingchurch.com/event/33the-series-3/2013-10-02/?ical=1&tribe_display=
Thanks thanks.October 3, 2013 at 10:13 am #69015Barry
MemberPlease don’t load both! Use either the minified script or the non-minified (minified is probably best here).
Besides that I’m not too sure why this isn’t working for you, perhaps some other piece of data it hinges upon isn’t being outputted in your custom loop? It’s really something you’d need to dig into and as a customization isn’t I’m afraid something we can help you with much further.
Good luck, though, and it would of course be great to hear back if you find a solution 🙂
July 7, 2015 at 6:28 am #981266Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘iCal Link in Custom Loop’ is closed to new replies.
