« back to folderblog
folderblogwiki

FolderblogCategoryIndex

Today i managed to write a FolderblogCategoryIndex -page.
its displaying a thumbnail for each of your categories (you defined in categories.txt see the wiki entry CreatingCategories ) and automatically generates the links to the category pages (menu-overview, the latest image or the first of a category. what you like).
The thumbnail is using your category-name as thumbnail-description. All necessary data is included from folderblog-files so you can see it as extension to your existing folderblog-installation and should work with every folderblog installation. As little gimmick it shows how many photos or images you have online and how many are in each category.
(see it in action here)



the idea

when using folderblog in a gallery like way, where you sort images by putting them into categorys, you might want to have a place start... thats what this is for!...
to get it to work, only thing you'll have to do is: upload my category_index.php to your folderblog-directory and upload thumbnails in the same directory with the name of the category-folder. (it is necessary to keep these thumbs anywhere outside your photos-directory cause they'd be counted then...)
So whenever you add a new category to folderblog, this category-index shows the appropriate thumb and link (just create a thumb for it).
I hope its useful to everyone whos using folderblog in a gallery-like-way (with categories - like i do)

What it can't do...

so there's no sense in using this Category-Index when you have no categories. Anything clear so far?
What it can do...

download is here (its called view source)
you can contact me (erik) via the WikiCredits if you have any questions...
Home  Index  Recent Changes  folderblog
Last edited February 23, 2008 at 10:51pm.(edit this entry)