Hi all, to show the count of links i use some moifications in build.pm
Example
1. Title Description
2. Title Description
# Get the links.
*** my $counter = $offset; # CountLinks
my $results = $sth->fetchall_hashref;
$link_db->add_reviews ($results);
foreach my $link (@$results) {
*** $counter++; # +1
*** $link->{CNT} = $counter; # pass to tag CNT
$link->{Category_Template} = $category->{Category_Template} if ($category->{Category_Template});
$display{links} .= Links::SiteHTML::display ('link', $link);
push @{$display{links_loop}}, $link;
}
...
Maybe there is still aglobal for that build in links or another solution without changing the script?
Example
1. Title Description
2. Title Description
# Get the links.
*** my $counter = $offset; # CountLinks
my $results = $sth->fetchall_hashref;
$link_db->add_reviews ($results);
foreach my $link (@$results) {
*** $counter++; # +1
*** $link->{CNT} = $counter; # pass to tag CNT
$link->{Category_Template} = $category->{Category_Template} if ($category->{Category_Template});
$display{links} .= Links::SiteHTML::display ('link', $link);
push @{$display{links_loop}}, $link;
}
...
Maybe there is still aglobal for that build in links or another solution without changing the script?