Reverse Order Entries
-
- Regular
- Posts: 8
- Joined: Sat Nov 11, 2006 3:02 pm
- Contact:
Reverse Order Entries
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?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Reverse Order Entries
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
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
# 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/
# 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/
-
- Regular
- Posts: 8
- Joined: Sat Nov 11, 2006 3:02 pm
- Contact:
Re: Reverse Order Entries
That's right, Garvin. Thanks!
"You can ... simply change the "timestamp DESC" to "timestamp ASC"."
Now it's exactly what I wanted.
Thanks again.
"You can ... simply change the "timestamp DESC" to "timestamp ASC"."
Now it's exactly what I wanted.
Thanks again.
Re: Reverse Order Entries
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
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
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Reverse Order Entries
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
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
# 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/
# 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/
-
- Posts: 2
- Joined: Thu Mar 17, 2011 6:52 am
Re: Reverse Order Entries
This is right if you are doing this and just changing this , timestamp DESC. you can do whatever you required.