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

Re: [romanslon] link category

Quote Reply
Re: [romanslon] link category In reply to
sub {
my ($rec) = @_;
my $linkid = $rec->{ID};
my $db = $DB->table ('Category','CatLinks');
my $sth = $db->select ( { 'CatLinks.LinkID' => $linkid }, ['Category.Full_Name'] );
my $cat;
while (my ($full_name) = $sth->fetchrow_array) {

my $test = Links::Build::build('title_unlinked', $full_name);

$full_name =~ s/ /_/g;
$cat .= qq~<a href="$CFG->{build_root_url}/$full_name/index.html">$test</a>~;
}
return $cat;
}
Subject Author Views Date
Thread link category romanslon 2383 Oct 27, 2003, 6:08 AM
Thread Re: [romanslon] link category
afinlr 2290 Oct 27, 2003, 3:24 PM
Thread Re: [afinlr] link category
romanslon 2272 Oct 29, 2003, 3:07 AM
Post Re: [romanslon] link category
afinlr 2258 Oct 29, 2003, 12:17 PM