disable event link in full calendar

Home Forums Calendar Products Events Calendar PRO disable event link in full calendar

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1273873
    Mel
    Participant

    Hi,

    Q1: I have a full calendar using a shortcode that works fine…. But I would like to have the event link
    disabled so the user can only see the event tooltip. How can I do that with CSS?

    Q2: Can more information be added to the tooltip?

    Thank You
    Mel

    #1274511
    Victor
    Member

    Hi Mel!

    Thanks for coming back to us! Let me try and help you with that.

    Q1: I have a full calendar using a shortcode that works fine…. But I would like to have the event link disabled so the user can only see the event tooltip. How can I do that with CSS?

    I don’t think doing that with css would be possible. However, I would suggest overriding the single-event.php template to make that happen. You can learn more about overriding calendar templates in our Themer’s Guide, but it basically boils down to this:

    • Make a copy of the single-event.php template. It is located at wp-content/plugins/the-events-calendar/src/views/month/single-event.php
    • Make a new folder in your theme called tribe-events
    • Make a new folder in that one called month
    • Drop your copied single-event.php file in that last folder

    Now that the template is in your theme, you can modify it to suit your needs. In this case, You should modify line 196 to be like this >
    <h3 class="tribe-events-month-event-title"><?php echo $title ?></h3>

    Q2: Can more information be added to the tooltip?

    Sure! You should try customizing the tooltip.php template file located in wp-content/plugins/the-events-calendar/src/views/month/

    Will this work for you? Please let me know. 🙂

    Best!
    Victor

    #1275024
    Mel
    Participant

    Hi….

    That worked perfect!!!! 🙂 Support here is super good…..

    Thanks
    Mel

    #1275043
    Victor
    Member

    Hey Mel!

    I’m super happy you could work that out! 🙂

    I’ll close this thread now, but feel free to open a new one if any other questions.

    Good luck with your project!
    Victor

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘disable event link in full calendar’ is closed to new replies.