Page 1 of 1
Page sequence
Posted: Mon Jun 30, 2008 2:29 am
by hubber
I am trying to set up an information site, and would like one entry per page, with the oldest on top followed by the rest in the order of their date of entry.
Program automatically shows latest entry on top, and I can't figure out how to leave the oldest on top. Can anyone help?
Thanks
Hub
Re: Page sequence
Posted: Mon Jun 30, 2008 12:40 pm
by garvinhicking
Hi!
Yes, Serendipity uses the reverse chronological ordering by default since that is quite usual for blogs. If you want to revert the ordering scheme, you should install the plugin "Propterties/Templates of categories" (serendipity_event_categorytemplates), available through Spartacus / spartacus.s9y.org. This plugin allows you to set a default sort order, that you can change from descending to ascending.
HTH,
Garvin
Posted: Mon Jun 30, 2008 2:33 pm
by hubber
Thanks Garvin
Posted: Mon Jul 07, 2008 5:05 am
by Wandrin
Is there any way to have the latest first on the current entries, but for the archived (monthly) entries to be presented with oldest first?
Posted: Mon Jul 07, 2008 12:39 pm
by garvinhicking
Hi!
Not with current code. You would need to patch the plugin's PHP code for that.
Best regards,
Garvin
Posted: Mon Jul 07, 2008 4:18 pm
by Wandrin
Thanks Garvin,
Doing patches to PHP code is not within my area of expertise so that will not happen.
Posted: Tue Jul 08, 2008 11:12 am
by garvinhicking
Hi!
Sadly this is a very uncommon need, usually people need to sort all of their entries EITHER chronologically OR reverse chronological, not with exceptions on specific pages.
It can definitely be done, but sadly because this is a very uncommon request, I cannot offer to code this for you in my free time.
Best regards,
Garvin