Wanted: new tab to open when user adds to Google calendar

Home Forums Calendar Products Events Calendar PRO Wanted: new tab to open when user adds to Google calendar

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1573032
    George
    Participant

    When a user clicks the +GOOGLE CALENDAR, it would be friendly and helpful to have that calendar entry open in a new tab. Is there anyway that can happen without miles of code?
    Here’s a little video of what it looks like:
    https://share.vidyard.com/watch/sTFBYHTYkv9oG5sgHP1GfS
    The site is https://sc.scholacantorum.org

    #1574134
    Cliff
    Member

    Hi. Thanks for the detailed question.

    single_event_links() in /wp-content/plugins/the-events-calendar/src/Tribe/iCal.php is how the link gets generated.

    You could use the tribe_events_ical_single_event_links filter to add a “target” to that link.

    Please reference https://theeventscalendar.com/tips-working-wordpress-actions-filters/ if you are not sure how to get started with WordPress action and/or filter hooks.

    Please let me know how this goes for you.

    #1575647
    George
    Participant

    Cliff, hank you for your reply. It’s ultimately not helpful.
    First of all, part of the reason we’re using WordPress is because we’re
    trying to keep this project as vanilla as possible. We’re a small community
    choir, not web designers. And we don’t have the budget for repeatedly
    examining/updating the code every week, when you folks update the plugins.
    The whole point of WordPress was simple, easy, and anyone in the office
    could maintain the website.
    Second of all, it seems rather rude to force YOUR customers to delve into a
    technical jungle (3 layers deep of documentation!?) just to keep OUR
    customers on our website. You wouldn’t want people on your website to
    leave, would you, just by clicking on a map? I do seldom encounter the lack
    of “target” in links that I didn’t believe it when one of our testers
    respected this as a bug.

    #1576589
    Cliff
    Member

    Thanks for your thorough feedback.

    If you want all external links to open in new tabs, you could use a plugin like https://wordpress.org/plugins/wp-external-links/ (third-party, not guaranteed or supported by us) — a tutorial about it is available at https://pagely.com/blog/globally-set-target-external-links-wordpress-blog-wp-external-links-plugin/

    If, instead, you want just our Google Calendar link to open in a new window, I could provide that bit of code for you. However, please understand we don’t provide custom development support, per our Scope of Support / Terms.

    People think a self-hosted WordPress site is easy, but it’s really not. There are a lot of moving parts and things to keep up with over time.

    Our plugin suite is complex (all calendars are), but we make it very flexible/extensible. Code is required to make “simple” tweaks from time-to-time, whether it be PHP, CSS, and/or JavaScript.

    Please let me know if the WP External Links plugin (or an alternative) satisfied your needs or if you want me to provide the PHP code snippet.

    #1592121
    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 ‘Wanted: new tab to open when user adds to Google calendar’ is closed to new replies.