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

New symbol doesn't appear

Quote Reply
New symbol doesn't appear
Hello All !
Can you give me any idea about "new symbol doesn't appear" - Pop symbol is OK. Please tell me where can I take a look the code display new symbol ?

I didn't change this line :
# Number of days a link is considered New. $db_new_cutoff = 14; # 14 days old.

Thanks alot & happy new year

Quote Reply
Re: New symbol doesn't appear In reply to
You should have the following codes in your link.html template file:

Code:

<%if isNew%>
<sup class="new">New</sup>
<%endif%>


OR in the site_html.pl file IF you are NOT using templates in the sub site_html_link routine:

Code:

|;
if ($rec{'isNew'} eq "Yes") {
print qq|<sup class="new">New</sup>|;
}
print qq|


Most likely when you edited the TEMPLATE files or site_html.pl, you inadvertantly deleted the above codes.

Regards,

Eliot Lee