Gossamer Forum
Home : Products : Links 2.0 : Discussions :

I Think I Oops'd

Quote Reply
I Think I Oops'd
In putting together the pages, I edited all the htmls in the templates adding a banner rotation java script. Now when I click on different catagories, I get duplicate banner java scripts showing on the page. Any ideas on why this is happening and how to remedy this?
http://lovenotez.com/links/pages/

Thanks,
Jan

Quote Reply
Re: I Think I Oops'd In reply to
Hello to you...

You might want to check your templates over... it seems that the JavaScript Banner program is in your HTML code twice... not to mention it looks like your Meta Tags are entered twice as well Smile


Jeremy Kerr
http://www.indianawebsites.com
Quote Reply
Re: I Think I Oops'd In reply to
I deleted all the htmls in the template files and uploaded new ones, which do not have everything duplicated, and they never did. Somehow when the script calls for top rated, or what's new links, and others, it adds duplicate meta tags, banner scriptk, etc., to the html itself. I'm really baffled by this and want to get it fixed. Is there something in one of the scripts I should be changing so it doesnt duplicate it?

Quote Reply
Re: I Think I Oops'd In reply to
Ok... I think I figured it out... Smile

In your link.html template file take out all of the graphics... javascript... etc.

Take out everything except for this part:

Code:
<%Title%> <%if Description%> - <%Description%> <%endif%> <%if isNew%> new <%endif%> <%if
isPopular%> pop <%endif%> (Added: <%Date%> Hits: <%Hits%> Rating: <%Rating%> Votes: <%Votes%>) Rate It
The link.html doesn't require all of the extra because it gets parsed into the category pages themselves.





Jeremy Kerr
http://www.indianawebsites.com
Quote Reply
Re: I Think I Oops'd In reply to
Thanks so much for your help Jeremy! Your suggestion worked. I deleted everything off the link.html and rebuit the database and it's working!

Thanks again!
Jan

Quote Reply
Re: I Think I Oops'd In reply to
No prob!

Have fun! Cool

Jeremy Kerr
http://www.indianawebsites.com