Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [netnow21] Wrong Number of Links

Quote Reply
Re: [netnow21] Wrong Number of Links In reply to
Hi,

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):

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

..and call with: <%count_total_links%>

Cheers

Andy (mod)
andy@ultranerds.co.uk
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!
Subject Author Views Date
Thread Wrong Number of Links netnow21 2472 Mar 20, 2008, 5:23 PM
Post Re: [netnow21] Wrong Number of Links
Andy 2387 Mar 21, 2008, 1:42 AM