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
-------------------------------------------------------