Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Detrmine the depth of category

Quote Reply
Detrmine the depth of category
Can I use the depth of categories from the user side to display certain componants:
example:
main category - sub category1 - sub category 2 - sub category 3

I want to be able to do something like:

if categorydepth=2 then
x=y
else if categorydepth=3 then
x=y*z
else
do nothing
fi;

thanks
Subject Author Views Date
Thread Detrmine the depth of category Mark2 4508 Dec 6, 2005, 12:26 PM
Thread Re: [Mark2] Detrmine the depth of category
Hargreaves 4487 Dec 6, 2005, 12:53 PM
Thread Re: [Hargreaves] Detrmine the depth of category
Mark2 4475 Dec 6, 2005, 5:22 PM
Post Re: [Mark2] Detrmine the depth of category
Andy 4470 Dec 7, 2005, 1:22 AM
Thread Re: [Hargreaves] Detrmine the depth of category
Hargreaves 4438 Dec 7, 2005, 2:24 AM
Thread Re: [Hargreaves] Detrmine the depth of category
Mark2 4420 Dec 7, 2005, 8:47 AM
Thread Re: [Mark2] Detrmine the depth of category
Hargreaves 4418 Dec 7, 2005, 9:04 AM
Thread Re: [Hargreaves] Detrmine the depth of category
Mark2 4406 Dec 7, 2005, 11:40 AM
Thread Re: [Mark2] Detrmine the depth of category
Andy 4427 Dec 7, 2005, 11:50 PM
Post Re: [Andy] Detrmine the depth of category
Mark2 4413 Dec 9, 2005, 8:47 AM