Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

and showin same info

Quote Reply
and showin same info
OK on my site, i have a line that says
<%grand_total%> "links" online.
then right below that i have a line that says
<%total%> new "links' online.
the "total" variable works fine on the whats new page, but on my home page, it show the grand total amount of lyrics. i need help in separating the values on the home page, pleas e reply.
here is my site so you can see exactly what i am talking about.

http//www.lyrics.go.cc

------------------
lyricsearch99
Quote Reply
Re: and showin same info In reply to
You need to add the following tag definition in the sub site_html_home routine in the site_html_templates.pl file:

Code:
total => $total,

Also, you will need to edit the sub build_home_page in the nph-build.cgi file to include this variable. Look at the sub build_new_page in the nph-build.cgi file for $total codes.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------