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


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates