Hi everybody
i am lookíng for a Global like this one
sub { my $tags = shift;
my $cat_db = $DB->table('Category');
my @root_cats = $cat_db->select (['Full_Name'], { FatherID => 0 })->fetchall_list;
my $output; foreach my $root_cat (@root_cats) { my $url = $cat_db->as_url($root_cat);
$output .= qq~<a href="$CFG->{build_root_url}/$url">$root_cat"</a><br>~; } return $output; }
This Globals shows only the rootcat (FatherID => 0)
i want to show the subcats of fathercats on every category
can you help me
marina
i am lookíng for a Global like this one
sub { my $tags = shift;
my $cat_db = $DB->table('Category');
my @root_cats = $cat_db->select (['Full_Name'], { FatherID => 0 })->fetchall_list;
my $output; foreach my $root_cat (@root_cats) { my $url = $cat_db->as_url($root_cat);
$output .= qq~<a href="$CFG->{build_root_url}/$url">$root_cat"</a><br>~; } return $output; }
This Globals shows only the rootcat (FatherID => 0)
i want to show the subcats of fathercats on every category
can you help me
marina