How can I exclude "ongoing" events from views?

Home Forums Calendar Products Events Calendar PRO How can I exclude "ongoing" events from views?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #955284
    David
    Participant

    I am scheduling multiple distinct events for several days in April (22-26). Each day will contain events such as “Intercessory Prayer,” “Pastor’s Devotional,” “NatCon2015 AM Session,” “NatCon2015 PM Session.” Now, not every day is the same. For example, 4/22 will only have a “NatCon2015 PM Session” (people still arriving), while 4/26 will only have a “NatCon2015 AM session” (people leaving for home afterward). So, as you can imagine it just made sense to create recurring events, 4/22-24 having “NatCon2015 PM Session” events. While 4/23-26 having “NatCon2015 AM Session” events. There were similar patterns followed for setting up Prayer and Devotional events.

    Everything was coming together nicely until I save all my events and took a look at the Monthly calendar for April. Imagine my surprise when I found some days showing (apparently) double entries (see: http://reachallnations.org/events/). For example on 4/24 I see “Pastor’s Devotional” listed twice. And, they are doubled on 4/25, except that they are in a different order.

    So, I click on the “View all five events” for 2/24, and I see that all the correct events are listed for the day, except that the “Pastor’s Devotional” is listed twice because one of them is listed as an “ongoing” event at the top of the page.

    Clearly, it seems only natural we would like to see a way of hiding “ongoing” (duplicate) events from these views. Is there a way we can do this? Thanks!

    #955394
    David
    Participant

    I’m just looking at the CSS elements for the “Events for <date>” view via Inspect Element, and the “ongoing” entry does not appear to have a unique CSS class or name tag. All the event items on the page are using the same “class=”tribe-events-day-time-slot” CSS class. How can I hide the “ongoing” item(s) if that is the case? Am I missing something?

    #955454
    Josh
    Participant

    Hey David,

    Thanks for reaching out to us!

    I took a look at the site and believe I see what’s going on here. When creating the recurring event that will last multiple days, the main event only needs to last the one day. So, rather than having the start date be 4/23 and the end date be 4/27, the first event should begin and end on 4/23 and the recurring should be set up as “daily” and recurring until the 27.

    So, the event should look something like this https://cloudup.com/c8Z-qNzML8g. Modifying the events to this structure should fix the display issues on the calendar that you’re seeing.

    Let me know if this helps.

    Thanks!

     

    #955472
    David
    Participant

    Ha! There ya go: “user error” yet again! LoL

    Thanks for the help!! 😀

    #955921
    Josh
    Participant

    Hey David,

    No problem! I only recognized it so quickly because I’ve done the same thing myself 🙂

    I’ll go ahead and close this thread for now. If you have any further questions, please don’t hesitate to open a new one.

    Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How can I exclude "ongoing" events from views?’ is closed to new replies.