![]() |
Sorting order for archive page
How do I go about changing the sorting order on the archive page of my photo blog - link here - right now it displays the images in chronological order (with the option to sort according to categories, etc) - but I would really like to sort them in reverse chronological order so I get the newest first.
I suspect this needs some sort of change in the php code (of which I know next to nothing) since I haven't been able to locate any such option in the admin interface. Any help would be appreciated :) |
which version do you use?
Usually the photos in the archive are shown in the same order as in the blog page - newest entry first |
I actually kind of wish they were in reverse order on the archive/browse pages - so then page 1 would always be page 1 and as you added new photos you added new pages but the previous pages wouldn't change. I had hacked my index file at one time but I stopped doing that a couple versions ago so I wouldn't have upgrade problems.
|
kevin, you could write an addon to do this :P
|
Sorry about the lack of response - have been out of town :)
Anyways, I am using version 1.7 - having just dug around a bit I've discovered that it's probably something in the theme I am using that's causing this, as the archive IS indeed shown in reverse chronological order when using the the simple theme. It would seem that the tag <THUMBNAILS_WHOLE_PAGED> is the cause of this - I do have the addon installed but it would appear this is showing the thumbnails in the actual chronological order - any way to go around this? |
Quote:
|
It's the same for me. It happens since i use Pixelpost 1.7...
If someone know how to change it, it would be very appreciated ! (i don't know anything in PHP :() |
No one solved this issue? :(
|
Found!
In line 344 of paged_archived.php change PHP Code:
PHP Code:
|
So great !
I didn't have any time to look after it, and i'm pretty bad in PHP... so, many thanks ! |
| All times are GMT. The time now is 06:02 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.