Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
Products
:
Gossamer Links
:
Discussions
:
<%grand_total%> on every page
Previous Thread
Next Thread
Print Thread
View Threaded
Aug 10, 2002, 5:16 PM
kriis
User
(67 posts)
Aug 10, 2002, 5:16 PM
Post #1 of 5
Views: 1651
Shortcut
<%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
Aug 10, 2002, 6:36 PM
katabd
Veteran
(1187 posts)
Aug 10, 2002, 6:36 PM
Post #2 of 5
Views: 1605
Shortcut
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
Aug 10, 2002, 6:42 PM
kriis
User
(67 posts)
Aug 10, 2002, 6:42 PM
Post #3 of 5
Views: 1621
Shortcut
Re: [katabd] <%grand_total%> on every page
In reply to
Total links like the tag used on the <%grand_total%> home page.
--
Kriis
Aug 10, 2002, 6:45 PM
katabd
Veteran
(1187 posts)
Aug 10, 2002, 6:45 PM
Post #4 of 5
Views: 1616
Shortcut
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
Aug 11, 2002, 2:21 AM
Paul
Veteran
(19537 posts)
Aug 11, 2002, 2:21 AM
Post #5 of 5
Views: 1597
Shortcut
Re: [katabd] <%grand_total%> on every page
In reply to
Code:
sub {
return $DB->table('Links')->count( { isValidated => 'Yes' } )
}
Last
edited
by:
Paul
: Aug 11, 2002, 2:22 AM
Previous Thread
Next Thread
Print Thread
View Threaded