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
Spaces in category names(back to index)
I have a quick question. It seems like spaces in category names (which corresponds to spaces in directory names for ex. photos/San Francisco/) arent supported or handled correctly. is that right? for example, when fb3 gets pointed towards such a category i get an error that no files are found. am i doing something wrong? just out of curiousity, where is this handled in fb3 (ie which file)? it sounds like a minor fix and i wouldnt mind looking into it, is this handled in fb.php?

anyway thanks for the great software, Paul
posted by Paul on 23 Jun 05 at 4:52 PM
The directories should all be one word names (i.e. "/photos/bunnies/"), while the single name line in the 'category.txt' file that sits in each of those directories can have spaces (i.e. "My Fuffy Bunnies").
posted by Elwing on 23 Jun 05 at 5:07 PM
Aha, I see. But right now Im simply u/ling dir's w/o using a category.txt file. that way I can sort of automate the process w/o having to worry about the category.txt file. maybe it would be better if i used it but if folderblog supported spaces in dir names it might be a little simpler. thanks for the tip
posted by Paul on 24 Jun 05 at 12:33 AM
Paul, are you using the latest version? Beta 06 should support spaces in category names (it was broken for a version or two, but shoudl be back).
posted by donald on 24 Jun 05 at 1:47 AM
(For example: the category "one image" in the preview blog.)
posted by donald on 24 Jun 05 at 1:49 AM
so just to be clear, im talking about spaces within directory names for ex. /photos/Chicago Il/. is that what your talking about?

so maybe i should post this in its own thread, but since im running beta 5, how should i go about upgrading? i assume i just need to replace all of the fles and keep my photos in place, then just edit the fb_vars.php file no?

thanks again
posted by Paul on 24 Jun 05 at 6:03 AM
Ok just upgraded to b6 and it looks like it works now, i.e. spaces within directory names, great!
posted by Paul on 24 Jun 05 at 6:40 AM
Post a Reply:

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