Hello, I just can’t quite seem to get this to work. I’d like to have 2 events listings: one for upcoming and one for past. I tried following another example in the forums, but not quite getting it… I want the events to automatically move to the past events list when they’re past (duh.) Does it have something to do with the entry date vs. my “event date” that I’ve created?
Here’s the code i have: any clues? I’m new to this… can you tell?
<h1>Upcoming Events:</h1>
{exp:weblog:entries weblog="news" orderby="event_date" sort="asc" limit="3" start_on="{current_time format="%D, %F %d, %Y"} 11:59 PM" show_future_entries="yes" dynamic="off"}
<h2>{title}</h2>
<h3>{event_date format="%D, %F %d, %Y"}</h3>
<p>{event_location}<br>
<p>{event_description}</p><br>
{/exp:weblog:entries}
<h1>Past Events:</h1>
{exp:weblog:entries weblog="news" orderby="event_date" sort="desc" limit="3" stop_before="{current_time format="%D, %F %d, %Y"} 11:59 PM" show_expired="yes" dynamic="off"}
<h2>{title}</h2>
<h3>{event_date format="%D, %F %d, %Y"}</h3>
<p>{event_location}<br>
<p>{event_description}</p>
{/exp:weblog:entries}
