Show Venue title in calendar month view

Home Forums Calendar Products Events Calendar PRO Show Venue title in calendar month view

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #216193
    jpirc
    Participant

    hello,

    I am trying to get the venue name to show up in the month calendar view, as well as on the hover box when you hover over the day. I can’t find any documentation on how to do this, so I wanted to reach out to see if you had any insights and could help out.

    #216745
    Casey
    Participant

    jpirc,
    Thanks for getting in touch! Any time you’re wanting to modify any of the Events template files, you’ll want to perform a template override. Take a look at our themer’s guide, which explains how to do this.

    You’ll want to override ‘views/month/single-event.php’ and ‘views/month/tooltip.php’ to make your changes. If you look in ‘single-event.php’ there’s thorough documentation on how to pass data to tooltip.php, which is a Javascript tempalte.

    Once you’ve overridden those files, you’ll want to use ‘tribe_get_venue‘ to display the Venue Name.

    Hopefully that points you in the right direction. Thanks! ๐Ÿ™‚

    -Casey-

    #218082
    jpirc
    Participant

    Hi Casey,

    Thank you so much for your help. I was able to set the venue up directly in the month view, but I’m stuck again with the tooltip.php file. Is there an ID that is used to call the venue in the tooltip? The stock template tags that are in the json string in single-event.php don’t reference the venue. Other than that, everything is moving smoothly. Thanks again,

    J

    #218699
    Casey
    Participant

    J,
    Look at the documentation in ‘views/month/single-event.php’. That will show you how to pass data to the tooltip template, as well as how to display your new variable in tooltip.php. Thanks! ๐Ÿ™‚

    -Casey-

    #465974
    Casey
    Participant

    I 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-

    #666766
    Casey
    Participant

    Since I havenโ€™t heard back from you here, Iโ€™m going to go ahead and close out this thread. Feel free to start a new thread if you have further issues. Thanks! ๐Ÿ™‚

    -Casey-

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Show Venue title in calendar month view’ is closed to new replies.