[Resolved] All-day events?

Support Forums Support All-day events?

This topic contains 14 replies, has 2 voices, and was last updated by  Drew McManus 1 year, 2 months ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #97

    Brian McDaniel
    VEM User

    I need to be able to show events without a start or end time and can’t figure out how to do it.

    #98

    Drew McManus
    Lead Dev

    Hi Brian, do you have a URL for where you’re putting the listing together?

    What I can say is all events need to have a start and end time entered in order for Google to recognize it’s an event via the structured data tags, those values must exist.

    Having said that, you don’t need to include the times on the frontend display. For listings, you’ll want to make sure the “Date and Time” drag and drop module is in the Exclude These column in your layouts (https://docs.ventureeventmanager.com/default-event-lists-layout-settings-panel/). You can also create listing specific layouts via the “Use Custom Layout” override feature (https://docs.ventureeventmanager.com/event-listings/).

    If this is something like an all day event that lasts a span of time, you can use the run dates feature (https://docs.ventureeventmanager.com/run-dates-display-settings-panel/). Let me know more about the frontend display goal and I can help suggest the most useful options.

    Drew

    #99

    Brian McDaniel
    VEM User

    Thanks, Drew. I am a developer so I have no problem hiding things with CSS or using template tags if you have them. Just so you know.

    Basically I am just starting the process of converting the Course system on this page: http://www.etsfl.com/courses/ to using your plugin. The current system is limited and clunky, so we’re moving into a calendar interface. As you will see from the link, the client offers 8-10 courses, each on a number of dates and locations. None of the courses have a start or end time. Just multiple dates (occurrences) and locations (venues). So we need to be able to show the date and location of each occurrence, along with an “Enroll Now” (ticket) button for each occurrence.

    Possible?

    One other note: same kind of issue on ticket price display. Prices don’t have a from and to price. Just one set price per course. So is there a way to hide “from” before the price?

    Thanks for your help,

    Brian

    #100

    Drew McManus
    Lead Dev

    Hey Brian,

    I think I see what you’re after. In this case, you want to remove the start time from the calendars.

    If that’s correct, yes the best method there is using CSS. To remove the start time from just the frontend calendars you can sue something like

    .vem-calendar .vem-single-event-time {
        display: none;
    }

    By default, the calendars have two sections of event meta: the calendar landing view and the more details view (the popup)

    Calendar Landing View includes:

    • Starting time
    • Pre Title
    • Title
    • Post Title

    The more details popup includes:

    • Category name
    • Calendar Image
    • Start time
    • Pre title
    • Title
    • Post Title
    • Date/time
    • Event Details Link
    • Buy Ticket Link (for one or both if values entered). You can use “Enroll Now” as the ticket button text on each occurrence (item F): https://www.screencast.com/t/sz3QJ4tgf3i

    Each of those can be filtered out or styled with CSS (let me know if you have any trouble finding the classes).

    The most straightforward solution that wouldn’t involve any programming on your end for the location is to use the Pre title or Post title fields. But we do have hooks you can use to display something like the venue value on the frontend calendar. That documentation is being created now but I can get that to you here if needed, just let me know.

    For the ticket display, if there’s a single price you can enter the single ticket price into both fields; example $[15.00] – $[15.00]. FYI, there’s a ticketing price cheat sheet available in the help tab on single event admin panels: https://www.screencast.com/t/BxBucLekyE

    Drew

    #101

    Brian McDaniel
    VEM User

    Drew,

    I would love any additional documentation you can provide. Be prepared – I am probably going to be asking a lot of questions while I work on getting this set up.

    How do I get past occurrences to no longer display on the single event page?

    Brian

    #102

    Drew McManus
    Lead Dev

    Sure thing Brian, which element in particular were you interested in (the hook for inserting venue information into the frontend calendar display)?

    As for upcoming occurrences on single event pages, it depends on your page layout. If you’re using a widgetized sidebar, I recommend going with the Who/What/Where widget as it can be set to “all occurrences” or “future occurrences only”: https://docs.ventureeventmanager.com/what-when-where-widget.

    You can also go with a sidebar calendar in either stacked or panel layout. bBth of those provide “Show All event occurrences” or “Only show future occurrences, hide past occurrences.” options. https://docs.ventureeventmanager.com/event-calendars. An added advantage for those is they can be used in text widgets or inside something like a column shortcode if you’re creating a sidebar that way inside your theme.

    Drew

    #103

    Brian McDaniel
    VEM User

    Yes, please provide the hook for inserting venue information into the frontend calendar display.

    I wasn’t using a sidebar or widgets. Just have Occurrences included in the Event Fields layout for Single Page. It seems logical to me that this would not display past occurrences.

    I guess I’ll try the sidebar widget and see if that is satisfactory.

    #104

    Drew McManus
    Lead Dev

    I’ll have our lead dev get the hook info and update here once it’s ready.

    As for the occurrences on single event pages, we recommend using the widgetized sidebar or the calendar options as those tend to work better inside responsive designs and they tend to produce a much better end user UX for anything beyond a handful of occurrences. But I’ll ask our dev if there’s a snippet to apply the auto remove on single events via the default occurrence drag and drop module.

    #105

    Brian McDaniel
    VEM User

    Yeah, the widget will definitely not work for our use case. Sorry to be difficult. This whole setup for this particular client is really different than most, which is why it was so difficult to find a calendar & ticketing plugin that would come close to working. I’ll keep fiddling as I’ve already got it pretty close. It would be GREAT if there was a snippet I could add to not show past occurrences, though. Much appreciated – all of your help and quick responses!

    #106

    Drew McManus
    Lead Dev

    I’m glad to hear there’s so much being covered on such a unique set up with standard functionality and those other items are on our radar and we’ll be back in touch as soon as we can. Feel free to post any other questions as they arise.

    Drew

    #108

    Drew McManus
    Lead Dev

    Let me move that over to it’s own thread as this one’s getting convoluted (and less useful for anyone searching for answers to similar questions).

    #113

    Drew McManus
    Lead Dev

    Quick update here: it looks like we’ll include the auto remove past events from single page occurrences in our next feature related release (2-3 weeks). I don’t know how that might impact your time line here but thought you’d like to know.

    My dev is looking over the other two items now and we’ll update each thread once he has something for you.

    Drew

    #114

    Brian McDaniel
    VEM User

    That is great news. For now we can just delete the past occurrences until the auto remove feature is available.

    Thanks!

    #115

    Drew McManus
    Lead Dev

    Okay, here’s the news from my dev:

    While we have a filter on what data is returned, all the calendar data construction is Javascript and so there aren’t filters.

    You could use the filter if you need to add more data to what goes to the front end this way:

    $results = apply_filters('vem_get_calendar_data', $results, $calendarId, $topCategory);

    (That is, the ‘vem_get_calendar_data’ filter, and the above is the code that calls it so you can see what data gets to that filter.)

    On the front end, you would need to inject something into your Javascript to change how the display is constructed.

    #123

    Drew McManus
    Lead Dev

    Marking this as resolved. Be sure to keep an eye on the changelog for the new auto-remove occurrence feature on single page events: https://changelog.ventureeventmanager.com/

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.