Chronological entries archive

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Chronological entries archive

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Chronological entries archive

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply