Hi everyone,
I'm testing MetaModels (Contao3 - dev-contao3 @ c18945) with a Contao 3.2 installation. I have to develop a module to display cultural events. These events :
- are grouped by season (ie : 2013/2014, 2014/2015…)
- group different dates.
For the moment, I've created :
- a MM Seasons with title (text) ; start date (date) ; end date (date);
- a MM Events with at first a select field seasons which is linked to MM season (id column : id ; value : title_season).
In the front-end, I want to display only the events corresponding to season_startdate =< today =<season_enddate ? I've tried with filter but didn't find anyway.
I thought to add a checkbox for the user can check which is the active season but the question remains the same : how to filter "I want to display event where the selected season is the active one".
thanks for your help.
Lesezeichen