unfortunately this isn't working. i forgot to mention that i'm using the category global to display all of the categories on each page. but this lists all of them, when i don't want to display certain ones.
here's the global i use to display all of the categories.
Quote:
sub {
my $tags = shift;
my $cat_db = $DB->table('Category');
$cat_db->select_options ('ORDER BY Full_Name');
my $sth = $cat_db->select ( { FatherID => 0 } );
my $output="";
my $root = [];
while (my $root_cat = $sth->fetchrow_hashref) {
push @$root, $root_cat;
}
$output = Links::SiteHTML::display ('print_cat', $root);
return $output;
}
and here is the code i tried to get it to not display the category wrinkle
Quote:
<%unless category_info eq Wrinkle%><%category_info%>
but unfortunately it still displayed the category. any suggestions?