Events Made Easy Forums Bug fixed or feature request implemented Ongoing events in Event Lists widget?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43414
    Anonymous
    Inactive

    The events lists widget (as ov 3.3.5) has a dropdown for scope that includes past, future, and all events. Can you add a dropdown that also allows us to select “ongoing” events (e.g. startdate <= today and today <= enddate and startdate < enddate).

    I see there were some discussions regarding ongoing events and nightclubs, where a one-day event crosses midnight, this doesn’t apply in my case, but I guess it would for some folks.

    I already tried the #_PAST_FUTURE_CLASS but that only applied to the tags for the events, but not to the tags for the dates themselves. If the #_PAST_FUTURE_CLASS tag applied a class of “eme-ongoing-event” to the date tag, then I could turn the individual li elements off with css display:none depending on the value of #_PAST_FUTURE_CLASS. And then if I could enter a class name for the

    tag, I could easily make one widget for ongoing events and one for future events, which is ultimately what I want to do.

    Or, if there is already a way to use the widget to display ongoing events only and/or future (but not ongoing) events only, can you let me know?

    thanks in advance!

    #48323
    Franky
    Keymaster

    See this change made in trunk:

    * Feature: added option “show_ongoing” to [events_list], to indicate you want the scopes to include end dates (ongoing events) upon evaluation (like e.g. future events include events starting in the past, but ending in the future), or just the start date. Default: 1

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top