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

Name Linked in Global Help

Quote Reply
Name Linked in Global Help
This global returns a category name. I have tried to add the Name as being linked but cant do it. Any help please?

sub {
# returns the category name on detailed pages
my $tags = shift;
my $id = $tags->{'ID'};
my $db = $DB->table ('Category','CatLinks');
$db->select_options('LIMIT 1');
my $catid = $db->select ( { LinkID => $id }, ['Name'] )->fetchrow_array;
return $catid;
}

~ ERASER


Free JavaScripts @ Insight Eye
Subject Author Views Date
Thread Name Linked in Global Help Eraser 2616 Feb 7, 2007, 11:50 AM
Thread Re: [Eraser] Name Linked in Global Help
brewt 2569 Feb 7, 2007, 12:06 PM
Post Re: [brewt] Name Linked in Global Help
Eraser 2554 Feb 8, 2007, 3:18 AM