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
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