Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [Alex] Category header field

Quote Reply
Re: [Alex] Category header field In reply to
In Reply To:
Hi,

No, you can not use any <% ... %> tags inside the Header and Footer fields in the database. One option would be to use the Category_Template field and give that category a different template (say category2.html) and put your special tags. Or, if there are only a few categories, you can do:

<%if Name eq 'SomeCategory'%>
custom code here.
<%endif%>

Hope that helps,

Alex

----------------------------

Hi Alex,

I tried using

Code:
<%if Name eq 'SomeCategory'%>
custom code here.
<%endif%>
for showing "Popular, New and Top Links" in second level category - like hot scripts does in ASP, PERL, PHP........ but with no success.

I use above code with popularbycat global you mentioend. I was wondering if you can help me out.

Here is another post for similer request
http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=198348

Thanks.

Vishal
-------------------------------------------------------
Subject Author Views Date
Thread Category header field Westiegirl 3553 Sep 13, 2001, 10:54 AM
Thread Re: [Westiegirl] Category header field
Paul 3447 Sep 13, 2001, 10:57 AM
Post Re: [PaulWilson] Category header field
Westiegirl 3435 Sep 13, 2001, 12:01 PM
Thread Re: [Westiegirl] Category header field
Alex 3443 Sep 13, 2001, 4:31 PM
Post Re: [Alex] Category header field
Westiegirl 3450 Sep 13, 2001, 4:53 PM
Post Re: [Alex] Category header field
Paul 3440 Sep 14, 2001, 3:49 AM
Post Re: [Alex] Category header field
VishalT 3273 Jun 2, 2002, 4:00 AM
Post Re: [Alex] Category header field
shackman 3201 Jul 24, 2002, 1:38 PM