Home › Forums › Calendar Products › Events Calendar PRO › How can I exclude "ongoing" events from views?
- This topic has 4 replies, 2 voices, and was last updated 11 years ago by
Josh.
-
AuthorPosts
-
April 13, 2015 at 8:31 pm #955284
David
ParticipantI 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!
April 14, 2015 at 7:19 am #955394David
ParticipantI’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?
April 14, 2015 at 8:38 am #955454Josh
ParticipantHey 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!
April 14, 2015 at 9:26 am #955472David
ParticipantHa! There ya go: “user error” yet again! LoL
Thanks for the help!! 😀
April 15, 2015 at 5:51 pm #955921Josh
ParticipantHey 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!
-
AuthorPosts
- The topic ‘How can I exclude "ongoing" events from views?’ is closed to new replies.
