Home › Forums › Calendar Products › Events Calendar PRO › Disable calendar view popup (tooltip)
- This topic has 8 replies, 3 voices, and was last updated 9 years, 8 months ago by Casey.
-
AuthorPosts
-
July 16, 2014 at 10:27 am #413333btellockParticipant
I would like to disable the popup on the calendar view and add the event date and time to the title on the individual calendar day block. Is this possible? Is there some documentation on where these edits can be done? Thanks!
July 16, 2014 at 11:43 am #414015alingParticipantI know that the tooltip display for calendar view is displayed via plugins > the events calendar > views > months > single-event.php.
I tried removing this piece “data-tribejson='<?php echo tribe_events_template_data( $post );” but it didn’t seem to work so I just used the CSS and set the tooltip piece to display: none;
July 16, 2014 at 11:46 am #414038alingParticipantPerhaps you can even just take out “$post” in the data-tribejson. Not sure. Would have to play around with it. But I think that piece is how the calendar gets the data as far as the post thumbnail and link.
July 17, 2014 at 2:54 pm #432677CaseyParticipantbtellock,
Thanks for getting in touch! You should be able to disable the month view tooltips by adding the following CSS to your theme’s stylesheet:
.tribe-events-tooltip {
display: none !important;
}Having the ‘!important’ in the style declaration should prevent it from displaying, even when the Javascript triggers it. So, give that a shot and let me know if it does the trick! Thanks! π
-Casey-
P.S. – Thanks for jumping in to help @aling! π
July 18, 2014 at 7:06 am #445604btellockParticipantThank you both! The above CSS did the trick.
Any ideas on how to add the event date and time to the title on the individual calendar day block?July 18, 2014 at 9:24 am #445898CaseyParticipantbtellock,
You should be able to perform a template override on ‘plugins/the-events-calendar/views/month/single-event.php’ (review our themer’s guide for instructions on template overrides), and then just modify the contents of the H3 tag at the bottom of that file to also use tribe_get_start_date().That should get you started in the right direction. Thanks! π
-Casey-
August 14, 2014 at 9:00 am #666791CaseyParticipantI just wanted to follow up and see if youβre all set here or if you still have further questions. Just let me know if you have further questions or if I should go ahead and close out this thread. Thanks! π
-Casey-
August 14, 2014 at 11:27 am #667596btellockParticipantI think I am good. Thanks!
August 16, 2014 at 8:54 am #677475CaseyParticipantGreat! Thanks for confirming that this got you sorted. Since it looks like you’re all set, I’m going to mark this thread “Answered” and close it out.
By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://m.tri.be/lo
Thanks in advance. π
Cheers,
Casey -
AuthorPosts
- The topic ‘Disable calendar view popup (tooltip)’ is closed to new replies.