folderblog
What is folderblog?
Folderblog is a free PHP script that automatically displays the images placed in a given directory, no database needed. It can be used as a blog or gallery — and anything in between.

» demo blog   » learn more   » download now

Discussion
Ordering the Archives page(back to index)
How would I go about reversing the order in the archives pages, so that the newest photos are shown first?
posted by james Yencken on 17 Jun 05 at 4:34 AM
donald? is this something that could be achieved through a little tinkering with fb.php, or is it far more serious?
posted by james Yencken on 20 Jun 05 at 2:48 AM
Actually this would be pretty easy to do. Add
$files = array_reverse($files);
as line 431.

The one place you'll run into trouble is with the archives links — links to the archives go to the page number of the picture in question — you'll either have to make some changes to line 417 of fb.php or simply use a static link to archives/, which will always take you to the first (i.e. newest) page of the archives.
posted by donald on 20 Jun 05 at 5:26 PM
Thanks donald! Worked a treat!
posted by james Yencken on 22 Jun 05 at 1:08 AM
Post a Reply:

Name:    Remember me
URL:    
(include http:// or mailto:)
(back to index)