Hey there,
I have a simple structure
field with some events which contain a startdate, enddate and a title.
My desired output is (for all months in the year)
--- (only show section if month has an event)
Monthname
Startdate | Enddate | Event
Startdate | Enddate | Event
Startdate | Enddate | Event
--- (only show section if month has an event)
Monthname
Startdate | Enddate | Event
Startdate | Enddate | Event
Startdate | Enddate | Event
I wanted to filter by month to loop through them but I cant get $data->events()->toStructure()->filterBy()
to work with ANYthing. Is this even possible? Can someone push me in the right direction?
Thank you very much.