Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions

Display returned set groupedby month on date field


Reply

3 Posts   1109 Views

Avatar
LesC

17 November 2009 at 6:34am Community Member, 70 Posts

I'm trying to get a page to display items grouped by their date field, so that I get something like:

JANUARY 2010
Item title
Item title

MARCH 2010
Item title

APRIL 2010
Item title
Item title

Do I need to do this in the template, or in the query that I run?

Cheers

L

Avatar
Willr

17 November 2009 at 3:30pm Forum Moderator, 5511 Posts

You will need to do this in the query. The template parser is probably not smart enough to handle doing that nicely.

Avatar
LesC

18 November 2009 at 12:46am Community Member, 70 Posts

OK, I'll ask the question in the DataModel forum then. Thanks Will.