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

Re: [Mark2] Detrmine the depth of category

Quote Reply
Re: [Mark2] Detrmine the depth of category In reply to
Hi,

If you're using GLinks 3.x, then you have the <%CatDepth%> option.

Example;

Code:
<%if CatDepth < 3%>
category is less than 3 levels deep
<%elsif CatDepth == 3%>
cat depth is 3
<%else%>
cat depth is greater than 3
<%endif%>

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Detrmine the depth of category Mark2 5635 Dec 6, 2005, 12:26 PM
Thread Re: [Mark2] Detrmine the depth of category
Hargreaves 5602 Dec 6, 2005, 12:53 PM
Thread Re: [Hargreaves] Detrmine the depth of category
Mark2 5589 Dec 6, 2005, 5:22 PM
Post Re: [Mark2] Detrmine the depth of category
Andy 5565 Dec 7, 2005, 1:22 AM
Thread Re: [Hargreaves] Detrmine the depth of category
Hargreaves 5556 Dec 7, 2005, 2:24 AM
Thread Re: [Hargreaves] Detrmine the depth of category
Mark2 5530 Dec 7, 2005, 8:47 AM
Thread Re: [Mark2] Detrmine the depth of category
Hargreaves 5532 Dec 7, 2005, 9:04 AM
Thread Re: [Hargreaves] Detrmine the depth of category
Mark2 5523 Dec 7, 2005, 11:40 AM
Thread Re: [Mark2] Detrmine the depth of category
Andy 5539 Dec 7, 2005, 11:50 PM
Post Re: [Andy] Detrmine the depth of category
Mark2 5507 Dec 9, 2005, 8:47 AM