Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Wrong Number of Links

Quote Reply
Wrong Number of Links
I have 1 link in three categories, However on the site it shows i have 3 links, when I only have 1 link in three cats.

Does anyone know a work around?
Quote Reply
Re: [netnow21] Wrong Number of Links In reply to

Where does it show 3 links? On home.html (i.e <%grand_total%> ?)

If so, you could just use a global (called count_total_links):

sub {
return $DB->table('Links')->count( { isValidated => 'Yes' } );

..and call with: <%count_total_links%>


Andy (mod)
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!