Gossamer Forum
Home : Products : Links 2.0 : Customization :

Total Links on Homepage

Quote Reply
Total Links on Homepage
Firstly, apologies if this isn't the correct forum.

I want to be able to display the total number of links in my links 2.0 directory on my website homepage. Anyone know how to do this? I know that in the catagory.html you can just add <%total_links%>.. but I just need the number for a page that's unrelated in every other way to the directory. I want to add a statistics box.. E.g.
** links in our directory
** posts on our forums.. etc.

Thanks all.

Quote Reply
Re: Total Links on Homepage In reply to
I either can give you my stats mod which lists many stats for your directory or just add <%grand_total%> to your home.html template.

Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: Total Links on Homepage In reply to
Sorry.. I don't think I'm making myself clear. I don't want to add the total links to my home.html template, or any links 2.0 page. I want it on my website start page. Hope this clears things up.

Quote Reply
Re: Total Links on Homepage In reply to
Does anyone have any idea how to do this? I'd be very grateful for some help..

Quote Reply
Re: Total Links on Homepage In reply to
home.html is a template which is used later by index.html for start page in links2.0

so just add <%grand_total%> to home.html.

take a look at www.vici.nainternetu.com
at the bottom you will see
"V bazi podatkov hranimo 330 vicev!" which means
There is currently 330 jokes inour database ...

bye




Gregor
www.vstopnice.com
www.balonarstvo.com