All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Problem showing next upcoming event.

artmem 22 Feb 2013 17:29 problem, complete

I have a page where I'm trying to show the next upcoming event only, but I can't get it to stop showing passed events, so I'm having to manually add expiration dates to every entry. Am I missing a parameter?

The code I'm using is below.

 
{exp:low_events:entries channel="events" require_entry="yes" sort="asc" limit="1" unit="upcoming" show_passed="no" dynamic="no" status="not closed" disable="member_data|categories|category_fields|pagination"}
<h1>{title}</h1>
{copy}
{/exp:low_events:entries}

Replies

  1. Low 22 Feb 2013 23:35

    This opening tag should do it:

    {exp:low_events:entries channel="events" show_passed="no" show_active="no" status="not closed" disable="member_data|categories|category_fields|pagination"}


    Does the tag still show passed events with this?

  2. artmem 23 Feb 2013 00:56

    That did it. Thanks.