Gossamer Forum
Home : Products : Links 2.0 : Customization :

How to show count of links?

Quote Reply
How to show count of links?
Hello.

How can I show count of links?

for example: "There are 2342 links in this directory?

can someone help me? I would appreciate it.
Thanks
Quote Reply
Re: How to show count of links? In reply to
In site_html.pl:

There are $grand_total links in this directory.

HTH


------------------
________________________________________________
Saleel Majeed
saleel@trekzone.net
http://www.trekzone.net/
http://www.trekseek.com/
Quote Reply
Re: How to show count of links? In reply to
 
Quote:
There are $grand_total links in this directory.

I don't think that is quite right. It would give you, according to the documentation at the top of sub site_html_category, the total of all links in the database. Replace $grand_total with $total, which is the total links in a directory, not the entire database.

------------------
Bob Connors
bobsie@orphanage.com
www.orphanage.com/goodstuff/
goodstufflists.home.ml.org/