I updated the “default/misc/getOldStories (119)” template with new code that sorts old articles by month instead of day. Whoopee. 😛 Just trying to keep track of it all. :>

Here’s my new “template” code that sorts old articles by month instead of day:

[% today = ”;
FOREACH story = stories;%]
[%IF today != “$story.m”;
IF today != ” %]



[% END;
IF !section or section.section == ‘index’ %]
[% story.m %]
[% ELSIF section.issue && section.issue > 1 %]
[% story.m %]
[% ELSE %]
[% story.m %]
[% END;
today = “$story.m”;
END %]
  • [% story.link %] ([% story.commentcount %])

  • [% END %]

    Leave a Reply