Gossamer Forum
Home : Products : Gossamer Links : Discussions :

<%grand_total%>

Quote Reply
<%grand_total%>
Hi

Problem with grand_total variable. I know that this has been discussed before but didn't found any solution.

Well, grand_total just don't show correct number.
-----------------
There are 2475 links for you to choose from!
-----------------
although real number of links is 2468.

Any ideas?

BTW, I did Repair Table and Repair Index but that didn't help.

Regards.

UnReal Network
Quote Reply
Re: [deadroot] <%grand_total%> In reply to
Anyone? Any ideas?

As just checked. In my admin CP when I list all links there are 2499 links. Also I've check my database and there are 2499 rows.
However, my <%grand_total%> variable on front page says there are 2406 links.
Seven links are lost/added somewhere. How and where, don't know.

Regards.

UnReal Network
Quote Reply
Re: [deadroot] <%grand_total%> In reply to
How are you counting the links? The count is based on the number of validated links in the CatLinks table (so it counts links which are in multiple categories multiple times).

Adrian
Quote Reply
Re: [brewt] <%grand_total%> In reply to
I don't know how does this <%grand_total&> variable works. It's default one.

Regards.

UnReal Network
Quote Reply
Re: [deadroot] <%grand_total%> In reply to
<%grand_total%> does count links in multiple categories multiple times.

At the bottom of this post there is a suggested global for just counting the number of links:
http://www.gossamer-threads.com/...i?post=273701#273701
Quote Reply
Re: [afinlr] <%grand_total%> In reply to
Ok. Thanks for reply.

Regards.

UnReal Network