Page sequence

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
hubber
Regular
Posts: 30
Joined: Fri Jun 20, 2008 7:01 pm

Page sequence

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

Re: Page sequence

Post 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
# 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/
hubber
Regular
Posts: 30
Joined: Fri Jun 20, 2008 7:01 pm

Post by hubber »

Thanks Garvin
Wandrin
Regular
Posts: 24
Joined: Thu May 03, 2007 5:09 am
Location: Nomadic Explorer
Contact:

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

Post by garvinhicking »

Hi!

Not with current code. You would need to patch the plugin's PHP code for that.

Best 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/
Wandrin
Regular
Posts: 24
Joined: Thu May 03, 2007 5:09 am
Location: Nomadic Explorer
Contact:

Post by Wandrin »

Thanks Garvin,

Doing patches to PHP code is not within my area of expertise so that will not happen.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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