Well, you should simply create a GLOBAL tag out of the &add_counter sub.
Like the following (and also like the WebAdverts modification referred many times in the Links 2.0 Customization Forum!):
counter => \&add_counter
in the %globals hash in the site_html_templates.pl file.
Then use <%counter%> in your template files.
Regards,
Eliot Lee
Like the following (and also like the WebAdverts modification referred many times in the Links 2.0 Customization Forum!):
Code:
counter => \&add_counter
in the %globals hash in the site_html_templates.pl file.
Then use <%counter%> in your template files.
Regards,
Eliot Lee