Home › Forums › Calendar Products › Events Calendar PRO › Open [tribe_mini_calendar] Links in New Window
- This topic has 9 replies, 2 voices, and was last updated 10 years, 11 months ago by
Brian.
-
AuthorPosts
-
May 5, 2015 at 2:01 pm #960657
DAVIS
ParticipantI read two other threads regarding this, but I was unable to find the answer (or at least one that I could understand how to do myself).
I would like to have the events that are listed with the [tribe_mini_calendar] shortcode open in a new window. My theme completely loads each page before showing anything, and I have about 120 events, so I want to prevent the visitors from having to reload a main page every time they look at an event.
I have no php knowledge, but I can add lines of code (if someone gives me the code and tells me where to put it- haha).
Thanks in advance!
Chris
May 6, 2015 at 6:33 am #960774Brian
MemberHi,
Thanks for using our plugins. I can try to help out here, but I am limited in providing coding for customizations by our terms and conditions.
The mini calendar can be modified following our themer’s guide:
https://theeventscalendar.com/knowledgebase/themers-guide/
You can try moving this file to your theme following the guide:
events-calendar-pro\views\pro\widgets\modules\single-event.php
to this location:
yourtheme\tribe-events\pro\widgets\modules\single-event.php
There you can modify this line: (line 54 in version 3.9.3)
" rel="bookmark"><?php the_title(); ?>to this:
" rel="bookmark"><?php the_title(); ?>That should do it.
Let me know how that works out.
Thanks
May 6, 2015 at 10:46 am #960895DAVIS
ParticipantBrian,
Thank you for the quick response!
I can’t find a “tribe-events” folder in my theme folder. I did a search and still did not find the folder.
I am using the Jkreativ theme and I am building the site locally.
Chris
May 6, 2015 at 10:59 am #960899Brian
MemberYou have to create the folder.
May 6, 2015 at 11:28 am #960904DAVIS
ParticipantBrian,
Thank you! The events in the [tribe_mini_calendar] list are now opening in a new window.
Is it possible to have the events listed on the regular calendar (domain/events/) also open in a new window?
Chris
May 6, 2015 at 12:31 pm #960928Brian
MemberGreat glad that helps.
It is possible on the Main Views to get them to open in new windows.
However, there is to many for me to provide that coding.
You can follow our themer’s guide and look for the links in the templates after moving to your theme and add target=”_blank” to them.
May 6, 2015 at 1:52 pm #960965DAVIS
ParticipantBrian,
I tried to find the template file for the main events view and add target=”blank” but it did not work. I’m afraid I will mess something up if I keep going. This is Greek to me.
Which file controls the way links open on this view?

I really appreciate your help with this.
Chris
May 6, 2015 at 4:16 pm #961001Brian
MemberUnfortunately, I provided all the help I can. Per our terms and conditions we do not help on customizations. We still try to help out a bit and I provided some coding for the Mini Calendar. However, you are asking for a far larger customization that we do not have coding for and it is now beyond what we can provide.
May 6, 2015 at 4:27 pm #961003DAVIS
ParticipantBrian,
I understand. Thank you for all of your help.
Since you said it is possible, I will keep digging around and looking for places I can add target=”blank” to the code. Hopefully I’ll get lucky. 🙂
Chris
May 6, 2015 at 5:38 pm #961013Brian
MemberIf you get the names of the files and lines of code that you think you would want to open in a new window and include them in one thread we maybe to take a quick look at let you know.
I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.
Thanks
-
AuthorPosts
- The topic ‘Open [tribe_mini_calendar] Links in New Window’ is closed to new replies.
