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

Products: Gossamer Links: Development, Plugins and Globals: Re: [macbethgr] Same level category list: Edit Log

Here is the list of edits for this post
Re: [macbethgr] Same level category list
Oops - try this

sub {
my $fatherid = shift;
my $db = $DB->table('Category');
my $sth = $db->select({FatherID=>$fatherid});
my $output;
while (my $cat = $sth->fetchrow_hashref){
my $url=$DB->table('Category')->as_url($cat->{Full_Name);
$output.=qq~<li><a href="$CFG->{build_root_url}/$url">$cat->{Name}</a>~;
}
return $output;
}

Last edited by:

afinlr: Sep 29, 2004, 12:41 PM

Edit Log: