Gossamer Forum
Home : Products : Gossamer Links : Discussions :

<%grand_total%> on every page

Quote Reply
<%grand_total%> on every page
Is there any way I can make the <%grand_total%> tag global so I can put it in the header of any page?

Thanks in advance!

--

Kriis
Quote Reply
Re: [kriis] <%grand_total%> on every page In reply to
Hi

Do you mean grand_total for the links? hits... or what exactly..
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] <%grand_total%> on every page In reply to
Total links like the tag used on the <%grand_total%> home page.

--

Kriis
Quote Reply
Re: [kriis] <%grand_total%> on every page In reply to
In the control panel:

go to : build:Templates globals:

Scroll down to the bottom then where it says new enter:

grand_total

and theblank box next to it:

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

and then you should be able to use <%grand_total%> any where on your pages..
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] <%grand_total%> on every page In reply to
Code:
sub {
return $DB->table('Links')->count( { isValidated => 'Yes' } )
}

Cool

Last edited by:

Paul: Aug 11, 2002, 2:22 AM