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 5682 Dec 6, 2005, 12:26 PM
Thread Re: [Mark2] Detrmine the depth of category
Hargreaves 5648 Dec 6, 2005, 12:53 PM
Thread Re: [Hargreaves] Detrmine the depth of category
Mark2 5636 Dec 6, 2005, 5:22 PM
Post Re: [Mark2] Detrmine the depth of category
Andy 5611 Dec 7, 2005, 1:22 AM
Thread Re: [Hargreaves] Detrmine the depth of category
Hargreaves 5602 Dec 7, 2005, 2:24 AM
Thread Re: [Hargreaves] Detrmine the depth of category
Mark2 5576 Dec 7, 2005, 8:47 AM
Thread Re: [Mark2] Detrmine the depth of category
Hargreaves 5578 Dec 7, 2005, 9:04 AM
Thread Re: [Hargreaves] Detrmine the depth of category
Mark2 5569 Dec 7, 2005, 11:40 AM
Thread Re: [Mark2] Detrmine the depth of category
Andy 5586 Dec 7, 2005, 11:50 PM
Post Re: [Andy] Detrmine the depth of category
Mark2 5553 Dec 9, 2005, 8:47 AM