Page 1 of 1

Chronological entries archive

Posted: Mon Feb 16, 2009 11:07 am
by yellowled
In entries_summary.tpl,

Code: Select all

{foreach from=$entries item="entries"}
{foreach from=$entries.entries item="entry"}
...
{/foreach}
{/foreach}
pulls a list of articles from a given month - but in reversed chronological order.

Any chance to turn it around so it pulls (or: emits) the articles in chronological order? Can I do the same for entries_archives.tpl?

YL

Re: Chronological entries archive

Posted: Mon Feb 16, 2009 11:44 am
by garvinhicking
Hi!

Only through a plugin, or your own serendipity_fetchPrintEntries call, or through a custom array_reverse iterator... so nothing simple.

Regards,
Garvin