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
Archive by month(back to index)
Don't know if this has been asked before but is there a way to organise photos by month and year of posting on the archive page? I'm using the almanac template.
posted by Anil on 2 Nov 05 at 5:59 AM
You mean that archive names are automatically listed by month and year without entering this text manually? No, doesnt exist so far. But any ambitious programmers are welcome to contribute! It is not that difficult, I just have a lack of time right now...

We need a function that creates an array of months/years available by scanning once through all files, and while it is doing so also notices down the information on the relevant images that belong to the individual "month/year"-categories.

Who wants to go for it? ;)
posted by ikue on 2 Nov 05 at 11:13 AM
Exactly...wish I knew programming :( I'd have given it a shot...but hoping that someone here is up to getting their hands a lil dirty on this...what say folks?
posted by Anil on 2 Nov 05 at 6:22 PM
I am currently working on an own new folderblog release... enhanced by some nasty functions... maybe I finally find the time to include something like it. Still, any other programmers are welcome to contribute! Otherwise this ends in a one-man project (as Tetto is not working on it any more, neither does he respond to contact attempts)
posted by ikue on 3 Nov 05 at 4:43 AM
Ikue...great work you are doing with your reloaded fb! However, I was wondering if creating code for the organisation of archives by month and year is bearing fruit?
posted by Anil on 7 Nov 05 at 3:00 PM
Anil, I just took a very close look at the way fb sorts files into the categories, and I dont think that altering the source code on this level makes sense. The structure is simply not made for such a change and would require a total overhaul of fb on the majority of source code.

The better advise would be to write a separate php script that you execute whenever you want and that sorts your files from the main directory into new, date-titled folders that can be read in the normal way by folderblog.
posted by ikue on 8 Nov 05 at 4:21 AM
Post a Reply:

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