Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [macbethgr] Top Cagegory Global Question

Quote Reply
Re: [macbethgr] Top Cagegory Global Question In reply to
sub {
my $tags = shift;
my $cat_db = $DB->table('Category');
$cat_db->select_options("ORDER BY Full_Name");
my $sth = $cat_db->select (['Full_Name','Description'], { FatherID => 0 });
my $output;
while (my ($root_cat,$desc)=$sth->fetchrow_array) {
my $url = $cat_db->as_url($root_cat);
$output .= qq~<div class="rbsDept"><a href="$CFG->{build_root_url}/$url" style="text-decoration: none">$root_cat</a></div><div class="rbsSub"> </div>~;
}
return $output;
}
Subject Author Views Date
Thread Top Cagegory Global Question macbethgr 2243 Feb 11, 2004, 6:32 AM
Thread Re: [macbethgr] Top Cagegory Global Question
afinlr 2129 Feb 12, 2004, 6:12 AM
Thread Re: [afinlr] Top Cagegory Global Question
macbethgr 2125 Feb 12, 2004, 9:49 AM
Thread Re: [macbethgr] Top Cagegory Global Question
afinlr 2122 Feb 12, 2004, 9:55 AM
Post Re: [afinlr] Top Cagegory Global Question
macbethgr 2098 Feb 12, 2004, 10:41 AM