• Resolved LS

    (@lsterling03)


    I see that legacy calendar views are unsupported now. But the iCal link does not work properly if I check the updated calendar view box.

    If you click the iCal link in Safari or Firefox (all I tested), it asks if it can open Chrome, as opposed to downloading the iCal file. If I click the iCal file in Chrome, it opens Google Calendar, but then tries to install the event as its own Calendar, as opposed to adding it as an event in my existing calendar.

    If I uncheck the “updated calendar views” box, then the link works correctly.

    The “Add to Google Calendar” link works correctly in either case.

    This is a fresh install of the plugin. The issue happens with the default theme and plugins deactivated as well.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Abz

    (@abzlevelup)

    Hi @lsterling03,

    Thanks for reaching out to us. I’m curious, the fresh installs should have the v2 out of the box. Could you provide me what version of the plugin installed?

    That’s correct, if you are using our Legacy views, which we do not provide support anymore due to bugs like these that are complicated for us to track down and fix.

    https://evnt.is/v1-removal

    Please take a look at the article above about why we are no longer supporting that version of our codebase.

    If you switch to the Updated Views and the problem continues, I would love to try to help you get to the bottom of the problem

    Best,
    Abz

    Thread Starter LS

    (@lsterling03)

    Yes. It was enabled by default when I installed, and I intend for it to remain enabled.

    While googling the iCal link issue I found an older post on this forum from people who resolved a calendar link issue when they unchecked the updated calendar option. Unchecking it fixed it for me too.

    In the “updated view” the iCal link is a webcal:// link, which (for me) tries to open Chrome and create a new calendar in Google. The “old view” link downloads an .ics file, which seems like the correct behavior, since you already have a separate Add to Google Calendar link specifically for Google.

    Since I wrote this, I re-enabled the updated calendar, and then used the tribe_events_single_event_after_the_content filter to manually rebuild the calendar links the old way. That worked, but of course it shouldn’t have to be that way. Will that filter still work when 6.0 is released?

    • This reply was modified 2 years, 7 months ago by LS.
    • This reply was modified 2 years, 7 months ago by LS.
    • This reply was modified 2 years, 7 months ago by LS.
    Plugin Support Abz

    (@abzlevelup)

    Hi @lsterling03,

    Appreciate you sharing the workaround here, it is good that you figured out a way to do this in your case.

    Also, I can’t assure you that this filter would work when 6.0 is released, but we do not change functions quickly. It would be gradual change, and we will put in our changelogs or somewhere that a function deprecates.

    You could also reference our DevDocs here:
    https://docs.theeventscalendar.com/

    Let me know if you need more help.

    Cheers,
    Abz

    Thread Starter LS

    (@lsterling03)

    Do you have any idea why it’s happening, though? It’s happening on your official demo too: https://demo.theeventscalendar.com/event/multi-day-event/

    If I click the Add to iCalendar link in Safari or Firefox, it asks me to open Chrome, and then adds it as a whole separate calendar in my Google calendar. I have iCal installed in my computer.

    Shouldn’t the expected behavior for iCal links be to download the .ics file? That’s how the old links work.

    I’m on Mac OS 12.2.1.

    • This reply was modified 2 years, 7 months ago by LS.
    Plugin Support Abz

    (@abzlevelup)

    Hi @lsterling03,

    Good catch. I could also replicate the issue on MacOs. I’m not entirely sure about its behaviour, let me ask our devs and see what’s up.

    I’d get back to you when I hear from them.

    Best,
    Abz

    Plugin Support Abz

    (@abzlevelup)

    Hi @lsterling03,

    Appreciate your patience here. I’ve heard back from one of our devs.

    It really depends on how your OS and your browser is set up. Here’s an example for Firefox on Windows: https://share.getcloudapp.com/xQuqqmgm.

    If I click the Add to iCalendar link in Safari or Firefox, it asks me to open Chrome, and then adds it as a whole separate calendar in my Google calendar.

    By default, that’s the current behavior. It is not also possible to add it to the private calendar in a way that it also keeps syncing.

    As a workaround, if you want the old functionality back, which is not ‘subscribe’, then there is a filter for that — but you would still have the export .ICS file.

    add_filter( 'tec_views_v2_use_subscribe_links', '__return_false' );

    See the article here:
    https://theeventscalendar.com/knowledgebase/k/exporting-events/

    Let me know if this helps.

    Best,
    Abz

    Plugin Support Abz

    (@abzlevelup)

    Hi @lsterling03,

    It seems like this thread gone quiet, and there are no further activities. We assume that this is already fixed or no longer applicable. I would mark this as resolved for now.

    If that is not the case, please let me know, and I will gladly remove the “Resolved” tag and try to help you further. Or you can create a new topic with the issue if you prefer.

    Best,
    Abz

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘iCal link doesn’t work in updated calendar view’ is closed to new replies.