PDA

View Full Version : Display Category ID on Archive Page (?)


greentraveler
12-20-2004, 01:29 AM
Can anyone recommend a way to display the category name when one is looking at a particular set of photos in the archive? I'd like for people to know which category they're looking at when they choose a category from the dropdown list.

Is this even possible? It would go along way toward making separate galleries a reality...you know, like "Abandoned Buildings" or "Christmas 2004". I feel like I'm halfway there by getting the appropriate thumbnails sorted but want to tell folks what exactly they're looking at.

Is there a longer route I could use to manually build category-specific galleries using the database thumbnails? Is there code that one could use in a new template to pull only a particular category's thumbnails and photos?

I realize this is a thick request for knowledge - thanks to anyone who can provide some guidance! :D

Connie
12-23-2004, 08:44 PM
hello!

I know an example where a javascript is attached to the select-box:

http://de.selfhtml.org/javascript/beispiele/verweisliste.htm

this example shows how to define links, dependent of the choosen option

the "else-"part is interesting and could be tweaked to create some document.write-stuff:

else {
parent.frames[1].location.href = x;
document.forms[0].reset();
document.forms[0].elements[0].blur();

Maybe this is of some help for you, I don't like javascript so I don't go too deep into it, but it could be a hint :wink:

greentraveler
02-07-2005, 10:01 PM
Just thought I'd see if there have been any other ideas...I couldn't figure the Javascript out. :(