Page 1 of 1

Reverse Order Entries

Posted: Thu Dec 31, 2009 6:36 am
by charlesrkiss
Is there any way that the oldest entries could appear at the top of the page and the newest entries at the bottom? Such as a reverse-order blog?

Re: Reverse Order Entries

Posted: Thu Dec 31, 2009 11:17 am
by garvinhicking
Hi!

Yes, you can install the serendipity_event_categorytemplates plugin that allows you to define sort order per Category, and globally. You can then simply change the "timestamp DESC" to "timestamp ASC" (or sth. like that).

Regards,
Garvin

Re: Reverse Order Entries

Posted: Thu Dec 31, 2009 3:17 pm
by charlesrkiss
That's right, Garvin. Thanks!

"You can ... simply change the "timestamp DESC" to "timestamp ASC"."

Now it's exactly what I wanted.

Thanks again.

Re: Reverse Order Entries

Posted: Wed Mar 16, 2011 3:59 am
by orang
Hi,

Does this plugin consider that you don't want to have old entries shown up?

Because that was my problem. I actually changed the function &serendipity_fetchEntries in the functions_entries.inc_alt.php a couple of years ago, so that it takes the current day and puts on top the entry nearest to that day in the future and then from there onwards all other future entries. Back then there wasn't a plugin for such a thing, so I changed the SQL statement. I wonder whether there is a plugin now?

Here is the website: http://www.weisenbacher.de/kfd/index.php


Thanks
Stefan

Re: Reverse Order Entries

Posted: Wed Mar 16, 2011 1:32 pm
by garvinhicking
Hi!

Using the serendipity_event_categorytemplates plugin, you can configure a default sort order, and a custom sort order depending on each category...that should help!

Regards,
Garvin

Re: Reverse Order Entries

Posted: Fri Mar 25, 2011 8:08 am
by Sara Martin
This is right if you are doing this and just changing this , timestamp DESC. you can do whatever you required.