Hello forum,
I would like some suggestions on how to build upcoming events using modx. I have started it already but quickly noticed some flaws in my logic. This is what I am trying to achieve.
- Using Collections, Create a container which holds all of events (past, present, future).
- Each event will be a resource (type document), So that I can enter the event's title, date, location, content, etc
- Using getResources, display the latest upcoming event and have a countdown timer display it. (I'm currently using a jquery plugin for the countdown timer. It works... sorta)
- Once the latest event time has elapsed, automatically display the next upcoming event using the previously mentioned getResources.
I tried using the latest unpublish date to show the latest upcoming event and it worked. However, I realized quickly that I will need that resource to be published and possibly archived for online viewing.
Does anyone has any suggestions or recommendations?