I have >100 hubdb list items and I would like to display three items at a time based on the latest date and time.
Are there any code snippets to help me achieve this?
Thanks !
I have >100 hubdb list items and I would like to display three items at a time based on the latest date and time.
Are there any code snippets to help me achieve this?
Thanks !
Hi @Ltkhaw ,
This article from SmartBug might be helpful Creating Event Listings Using HubDB | SmartBug Media®
As far as displaying three items, you’ll probably need a loop statment.
{% if loop.index <=3 %}
Let me know if that helps!