Displaying upcoming events AND/OR past events
Using Low Events, I want to display the next 3 upcoming events, unless there are fewer than 3 upcoming events, in which case I need to display the last 3 events in the system (including upcoming and past events).
For example, let's say my events are: Aug 11, Aug 13, Aug 15, Aug 17.
If today is Aug 1, I should list: Aug 11, Aug 13, Aug 15.
If today is Aug 16 or Aug 18, I should list Aug 13, Aug 15, Aug 17.
Can I do this with the native tags, or do I need to involve some external logic (e.g. w/ Stash, or similar)?
Replies
Low 20 Aug 2013 09:02
Not possible with native tags. You'll need to resort to either PHP or Stash.