Gossamer Forum
Quote Reply
tags
What tag do you use to get category totals to display on home page? I am using the templates and I can get the total number of links to display using <%grand_total%> but not the category totals.... There must be a way since when you do a build all the number of links in each category shows up, so the program does calculate these.. Can anyone help?

------------------
trafficpro
Quote Reply
Re: tags In reply to
You can have the total links in each individual category print after the category name by using ($numlinks) in sub site_html_print_cat of site_html_templates.pl (this was already in the default distribution...did you change it?)

If you want this to print out on each actual category page (i.e. "there are XX links in this category"), you can use <%total%> in category.html.