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

Re: [MJ_] Condition on detail page and root category

Quote Reply
Re: [MJ_] Condition on detail page and root category In reply to
If its on the detailed page, you should be able to use the title_loop values.

First of all test it - try:

Code:
<%title_loop.1.Name%>

(it may be "1" or "2"... I can't remember if it starts at 0 or 1 , and the first element is the "home" value :))

Then if that works you should be able to do:

Code:
<%if $title_loop.1.Name eq "The Cat Name%> ... do something <%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 Condition on detail page and root category MJ_ 3238 Apr 9, 2012, 3:08 AM
Thread Re: [MJ_] Condition on detail page and root category
Andy 3125 Apr 9, 2012, 3:19 AM
Post Re: [Andy] Condition on detail page and root category
MJ_ 3124 Apr 9, 2012, 3:37 AM