Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

No 3 Levels of Graphics on Home Page

Quote Reply
No 3 Levels of Graphics on Home Page
Well, I'm completely stumped. I can't get the 3 New Levels of Graphics working on the Home Page (the one with all the graphics), however my 'modified' graphic does show up. To make matters worse, it works perfectly with all my links in link.html.

I have amended the subcategory.html exactly the same as link.html - but it still doesn't work.

I use the following:

<%if isNew%>
<img src="<%image%>/new_<%Days_Old%>.gif">
<%endif%>

I have <%image%> defined properly, and as I said, it works perfectly for the individual links.

I have also checked and double checked the HTML_Templates.pm as well as Links.pm to see if everything is turned on or whatever - and there is nothing untoward there.

Anyone got any ideas?

Regards,



------------------
Clint
----------------------------------
www.AffiliatesDirectory.com
Proud Supporter of Links SQL
----------------------------------




Quote Reply
Re: No 3 Levels of Graphics on Home Page In reply to
 
Quote:
I have amended the subcategory.html exactly the same as link.html
That's most likely the problem. If you have an un-modified copy of subcategory.html (either as a backup or from one of the other template diretories), take a look at the 'new' tag and how it differs from that in link.html. It should jump out at you what you need to do.

Dan
Quote Reply
Re: No 3 Levels of Graphics on Home Page In reply to
Code:
<FONT FACE=ARIAL SIZE=2><B><a href="<%URL%>"><%Short_Name%></a></B>
<%if Has_New_Links eq 'Yes'%>
<%if Days_Old < 15%>
<img src=<%build_root_url%>/../images/new_<%Days_Old%>.gif>
<%endif%>
<%endif%>
<%if Has_Changed_Links eq 'Yes'%><FONT FACE=ARIAL COLOR=RED><sup>update</sup></FONT><%endif%>
</FONT>

This is what I'm using on my site:

www.postcardsportal.com

Your problem is that a link can be "isNew" but a category "Has_New"

Let me know....
Quote Reply
Re: No 3 Levels of Graphics on Home Page In reply to
Your a life saviour!

All is working fine - thanks very much!

Regards,



------------------
Clint
----------------------------------
www.AffiliatesDirectory.com
Proud Supporter of Links SQL
----------------------------------