Gossamer Forum
Home : Products : Links 2.0 : Customization :

subcats like yahoo and 3 level graphics

Quote Reply
subcats like yahoo and 3 level graphics
i've installed the subcats like yahoo and the "3-Level "NEW" Graphic Usage Modification". This mod shows only a New graphic to the main category. If you put
Code:
my $days_old = &days_old($mod);
if ($days_old <= 2) { $output .= qq| $new_1|; }
elsif ($days_old <= 7) { $output .= qq| $new_3|; }
elsif ($days_old <= 14) { $output .= qq| $new_7|; }
after
Code:
$output .= qq~<LI>~ if ($style eq "2");
$output .= qq~<a class="subcat" href="$url">$category_name</a>~;
it displays the same graphic of the main category for each subcategory. Is there a way to have different graphics (eg a red one for subcat1 and a green one for subcat2) for each subcategory?

Thanks