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