Adding Venues, Featured image Thumbnails, & available tickets on Monthly View

Home Forums Calendar Products Events Calendar PRO Adding Venues, Featured image Thumbnails, & available tickets on Monthly View

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1459489
    Mike
    Participant

    I’d like to present the monthly view events data as follows:

    • Thumbnail Featured image
    • Venue
    • Event Title
    • Available: # (available tickets)
    • Single Event Link

    Questions:

    • Can you provide a snippet to pull the above fields for the current build of TEC?
    • If not, what are the fields for all of these items. For example, the_post_thumbnail, tribe_get_venue, tribe_event_link from the old version of TEC.
    • If we are caching the monthly view, is there still a way to have dynamic ticket availability show? basically, to exclude a PART of the page from the cache?

    Thanks!

    #1461163

    Hi Mike,

    Thanks so much for reaching out!

    Just to let you know, we are limited by our Support Policy in how much we can help with customizations, but I will try to point you in the right direction.

    To clarify, are you looking to create a custom template that reorders the way things display?

    If so, I’d recommend taking a look at the single-event.php template and making a copy of it and editing it to suit your needs.  Our Themer’s Guide can walk you through this process.

    As far as caching goes, if you are caching the month view, your ticket availability should still update properly.  Are you seeing something different?

    Let me know!

     

    Thanks,

    Jaime

    #1461698
    Mike
    Participant

    I’m talking about editing the monthly calendar view, so that it shows the following information in flat view (not in popup)

    Thumbnail Featured image
    Venue
    Event Title
    Available: # (available tickets)
    Single Event Link

    At the very least, can I get the field names of the above fields?

    As for the caching question, my question is specific to the monthly view. If we are showing the available # of tickets and the monthly view and caching the page, will it show accurate seat numbers?

    #1461699
    Mike
    Participant

    For example, I believe this is the query for the available ticket numbers:

    https://theeventscalendar.com/function/tribe_tickets_get_ticket_stock_message/

    #1462236

    Ah okay, I see.  The template you will want to edit is the single-event.php template.

    Thumbnail Featured image: tribe_event_featured_image
    Venue: tribe_get_venue
    Event Title: get_the_title
    Available: # (available tickets): tribe_tickets_get_ticket_stock-message
    Single Event Link: tribe_get_event_link

    You can find a full list of available functions here as well:

    https://theeventscalendar.com/functions/

    I hope this helps, let me know how it goes!

     

    Thanks,

    Jaime

    #1465397
    Mike
    Participant

    I still need to know if this is going to cause caching issues:

    As for the caching question, my question is specific to the monthly view. If we are showing the available # of tickets and the monthly view and caching the page, will it show accurate seat numbers?

    #1465798

    Hi Mike,

    Since this is a customization that you are creating, I cannot guarantee that things will work as expected.  This is not how we had things set up by default to work, but you are welcome to give it a try and see how it goes.

    With adding in the available tickets to month view, I would imagine that it will update properly, but again cannot guarantee it, as this wasn’t the original intention for the plugin.

    I hope that helps!

     

    Thanks,

    Jaime

    #1486028
    Support Droid
    Keymaster

    Hey 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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Adding Venues, Featured image Thumbnails, & available tickets on Monthly View’ is closed to new replies.