Gossamer Forum
Home : Products : Links 2.0 : Discussions :

home not updating link count

Quote Reply
home not updating link count
My home page has listed the same amount of total links and each category has had the same total for weeks now. When I add a new link the link shows up in the category but the total links and number of links for that category do not change, also when I add a category it seems to go through fine but never appears on the page. Any ideas whats going on?
Thanks
Jim

Quote Reply
Re: home not updating link count In reply to
Do you have <%grand_total%> in the home.html template?

Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/

Quote Reply
Re: home not updating link count In reply to
Have you re-built your directory via the BUILD ALL option?

Regards,

Eliot Lee
Quote Reply
Re: home not updating link count In reply to
I have rebuilt several times and I do not seem to have the <%grand_total%> anywhere on the page. This is pretty much what I have


These are <font color="#0000FF">1211</font> links for you to choose from.</font>




<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td valign="top" width="100%">
<div class="margin"><table width="80%" border="0" cellspacing="0" cellpadding="0"><tr><td class="catlist" valign="top">
<dl><dt><strong><a class="link" href="http://fantasysexlinks.com/links/Amateur/">Amateur</a></strong> <small class="numlinks">(144)</small> <small><sup class="new">new</sup></small></dt></dl><dl><dt><strong><a class="link" href="http://fantasysexlinks.com/links/Anal/">Anal</a></strong> <small class="numlinks">(29)</small> <small><sup class="new">new</sup></small></dt></dl><dl><dt><strong><a class="link" href="http://fantasysexlinks.com/links/Anime/">Anime</a></strong> <small class="numlinks">(16)</small> <small><sup class="new">new</sup></small></dt></dl><dl><dt><strong><a class="link"

Quote Reply
Re: home not updating link count In reply to
Well, add the <%grand_total%> tag in your HOME.HTML template file.

Regards,

Eliot Lee
Quote Reply
Re: home not updating link count In reply to
Where do I put the <%grand_total%> tag at in the home.html template file ?, Sorry, but pretent I'm complete idiot and THEN make it simple for me please :)

Quote Reply
Re: home not updating link count In reply to
In Reply To:
These are <font color="#0000FF">1211</font> links for you to choose from.</font>
Here is mine - just edit yours and put the tag mentioned in the right place.

Code:
There are <b><%grand_total%></b><b><font color="#FF0000"> New Zealand</b></font> links
- resources for you to choose from!</font></center>
Hope that helps


http://www.nzcid.org.nz" target="blank" New Zealand Christian Internet Directory
Quote Reply
Re: home not updating link count In reply to
You can put it anywhere in home.html where ever you'd like it to appear on the page.

Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
Re: home not updating link count In reply to
Cool, I added the code and the Grand Total of the links now works fine(Thanks much ), But the individual category totals still do not update, what am I missing here ?
Thanks

Quote Reply
Re: home not updating link count In reply to
Have you modified site_html_print_cat?

Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/

Quote Reply
Re: home not updating link count In reply to
Nope, I don't even know where to find it, I looked and all I can find are site_html.pl and site_html_templates.pl

Quote Reply
Re: home not updating link count In reply to
It is right at the bottom of site_html_templates.pl


Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/

Quote Reply
Re: home not updating link count In reply to
In Reply To:
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td valign="top" width="100%">
<div class="margin"><table width="80%" border="0" cellspacing="0" cellpadding="0"><tr><td class="catlist" valign="top">
<dl><dt><strong><a class="link" href="http://fantasysexlinks.com/links/Amateur/">Amateur</a></strong> <small class="numlinks">(144)</small> <small><sup class="new">new</sup></small></dt></dl><dl><dt><strong><a class="link" href="http://fantasysexlinks.com/links/Anal/">Anal</a></strong> <small class="numlinks">(29)</small> <small><sup class="new">new</sup></small></dt></dl><dl><dt><strong><a class="link" href="http://fantasysexlinks.com/links/Anime/">Anime</a></strong> <small class="numlinks">(16)</small> <small><sup class="new">new</sup></small></dt></dl><dl><dt><strong><a class="link"
Is this really what your home.html template looks like? If so, you need to remove all this and use the <%categories%> tag.


--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
Quote Reply
Re: home not updating link count In reply to
Good point - I assumed that, that was the output.

Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/

Quote Reply
Re: home not updating link count In reply to
junko
Can you elaborate a little (or alot)Maybe give me and example of exactly where to put the <%categories%> and what to remove. I'm guessing that the line that looks like
<small><sup class="new">new</sup></small></dt></dl><dl><dt><strong><a class="link" href="http://fantasysexlinks.com/links/Anime/">Anime</a></strong> <small class="numlinks">(16)</small>
Should be
<small><sup class="new">new</sup></small></dt></dl><dl><dt><strong><a class="link" href="http://fantasysexlinks.com/links/Anime/">Anime</a></strong> <small class="numlinks"><%categories%></small>


Or do I need to remove more of the old code ?
Thanks

Quote Reply
Re: home not updating link count In reply to
In home.html you need to remove all that category html and just replace it with <%categories%> - that will build all the category html for you.

Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/

Quote Reply
Re: home not updating link count In reply to
Wow, you guys are awsome!!! I'm a complete Techno idiot and you still managed to help me get everything fixed, Awsome...
Thanks alot guys

On another note you guys know a programer that can create a stats program for my server at a resonable rate ?

Quote Reply
Re: home not updating link count In reply to
It may be worth looking around on the net because there a lot of stats programs aorund either free or at a decent price. It would definitely be more expensive to hire a programmer to do it for you. What kind of stats were you looking for?

Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/

Quote Reply
Re: home not updating link count In reply to
I havn't been able to find a program that does what I want, and it's actually very basic, All I need it to do is tell me what the refering url is and next to that what page they went to on my site, Like this one http://www.big-black-booties.net/webstats/index.html If you open the drop down box and clcik on Domain1.com you will see exactly what I'm loking for in the stats, and I want it set-up just like this page so i can access all my domains from 1 page. The problem with this script is it is PHP and requires adding code to each page or domain.

Quote Reply
Re: home not updating link count In reply to
Hi,

Alex would probably do this for you in no time at all and for a good price.

You may want to look at webalizer and analogue though as well - pre-made.

Installations:http://www.wiredon.net/gt/
Favicon:http://www.wiredon.net/favicon/