Open gromit2010 opened 4 years ago
I have various weekly, monthly recurring events but even though I have changed the twig to use datetools.endOfYear it only seems to generate events for from January through to August. How do you extend this range?
{% set collection = page.collection({ 'items': { '@taxonomy': { 'type': 'event' } }, 'dateRange': { 'start': datetools.startOfWeek, 'end': datetools.endOfYear }, 'order': { 'by': 'date', 'dir': 'asc' }, 'limit': '0', 'pagination': false }) %}
And recurring event should not be displayed as single events, it populates collections with tones of events...
I have various weekly, monthly recurring events but even though I have changed the twig to use datetools.endOfYear it only seems to generate events for from January through to August. How do you extend this range?
{% set collection = page.collection({ 'items': { '@taxonomy': { 'type': 'event' } }, 'dateRange': { 'start': datetools.startOfWeek, 'end': datetools.endOfYear }, 'order': { 'by': 'date', 'dir': 'asc' }, 'limit': '0', 'pagination': false }) %}