Hi,
to display the number of links on each category page you need another global (call it "NumOfLinks" for example):
# show total number of validated Links in database
return $DB->table ('Links')->count({isValidated => 'Yes'});
}and then use the tag <%NumOfLinks%> in the category.html template.
Andreas
http://www.archaeologie-online.de
to display the number of links on each category page you need another global (call it "NumOfLinks" for example):
Code:
sub { # show total number of validated Links in database
return $DB->table ('Links')->count({isValidated => 'Yes'});
}
Andreas
http://www.archaeologie-online.de