PDA

View Full Version : Hyperlinking to a "Category" in EE?


nbramley
10th of June 2005 (Fri), 20:54
I asked this question many moons ago, but never got a response. Hopefully I get one this time...

I want to be able to link to a particular category in EE. For Example:

"Wildlife images" text link would take you to all the images in the "Wildlife" photo category...

Anyone know how to do this???

Thanks,
Neil

MikeCaine
11th of June 2005 (Sat), 03:14
I'm not sure, but it might be worth reading "Snippet Definitions.rtf" in your EE_RC4 folder. It sounds like you might be able to do it using the info there

Pekka
11th of June 2005 (Sat), 04:32
add switch category=x where x is category id (see those on category editor).

eg. http://photography-on-the.net/gallery/list.php?exhibition=1&category=3

MikeCaine
11th of June 2005 (Sat), 07:06
Presumably changing exhibition=all (or does it have to be exhibition="all") would link to the chosen category accross all exhibitions?

http://photography-on-the.net/gallery/list.php?exhibition=all&category=3

nbramley
11th of June 2005 (Sat), 09:12
It worked like a charm, thanks Pekka! Now, could I really push my luck and link to "keywords"? Hmm...

nbramley
11th of June 2005 (Sat), 09:14
Just figured it out!

Use this as your hyperlink:

http://www.your_site.com/gallery/list.php?exhibition=1&keyword=animal