Home › Forums › Calendar Products › Events Calendar PRO › Wanted: new tab to open when user adds to Google calendar
- This topic has 3 replies, 2 voices, and was last updated 7 years, 8 months ago by
George.
-
AuthorPosts
-
July 11, 2018 at 2:43 pm #1573032
George
ParticipantWhen 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.orgJuly 12, 2018 at 2:22 pm #1574134Cliff
MemberHi. 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.
July 15, 2018 at 5:27 am #1575647George
ParticipantCliff, 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.July 16, 2018 at 2:37 pm #1576589Cliff
MemberThanks 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.
August 7, 2018 at 9:35 am #1592121Support 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 -
AuthorPosts
- The topic ‘Wanted: new tab to open when user adds to Google calendar’ is closed to new replies.
