Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Include by category (name) at detailed page?

Quote Reply
Include by category (name) at detailed page?
Is it possible to inlcude an element on the detailed page only for one category?

I have tried this with no success.

<%if name% eq 'acat'>include-text<%endif%>
..........................
Kjetil Palmquist
www.svanger.com
Quote Reply
Re: [kjetilpa] Include by category (name) at detailed page? In reply to
<%if category eq 'somevalue'%>show text here<%endif%>

That should work..not tested though Wink

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!
Quote Reply
Re: [Andy.] Include by category (name) at detailed page? In reply to
Sorry, it's not working.
..........................
Kjetil Palmquist
www.svanger.com
Quote Reply
Re: [kjetilpa] Include by category (name) at detailed page? In reply to
There is no category tag. Name is the tag containing category name.
Name: Accessories

The Full_Name tag contains the full name of the category.
Full_Name: Computers/Accessories

So try this:
Code:
<%if Name eq 'somevalue'%>show text here<%endif%>
(you may also try with Full_Name)

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...

Last edited by:

webmaster33: May 9, 2002, 2:04 AM