Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Added: Wrong Date

(Page 2 of 2)
> >
Quote Reply
Re: Added: Wrong Date In reply to
What tag are you using in your link.html file?

It should be <%Date%>.

Regards,

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




Quote Reply
Re: Added: Wrong Date In reply to
BINGO!!!!
After reading all posts in this thread I have made some changes sugested here and the "added date" appears correct now.

I am using Webcrawler templates and this is what I did:

Eliminated

Date => &get_date,

from site_html_templates.pl and made sure the tag in links.html was <%Date%>

Thank´s everyone!!

Cecilia

[This message has been edited by C Mortera (edited January 14, 2000).]
Quote Reply
Re: Added: Wrong Date In reply to
I am also using webcrawler templates and made all those changes with no perceivable effect. The pasges built today adn those builkt last week all say added Jan 15.
The what's new pages are created for the right days but the links in them say added Jan 15. My link.html looks like this

<title>Links</title>
<ul><li><a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>

<%if Description%>
<span class="descript">- <%Description%></span>
<%endif%>

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

<%if isPopular%>
<small><sup class="pop">pop</sup></small>
<%endif%>

<small class="date">(Added: <%Date%> Hits: <%Hits%> Rating: <%Rating%> Votes: <%Votes%> ) <a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a></small>

</ul>

my site_html_template.pl look like this

%globals = (
date => &get_date,
time => &get_time,
Time => &get_time,
db_cgi_url => $db_cgi_url,
build_root_url => $build_root_url,

site_title => $build_site_title,
site_header => &site_header,
site_footer => &site_footer,
css => $build_css_url
);
I don't know what I'm missing here but the suggested solutions are working for me.



------------------
ccunet
Quote Reply
Re: Added: Wrong Date In reply to
Delete the following tags:

Code:
time => &get_time,
Time => &get_time,

You do not need these tags defined in the global hash.

Is the name of the Date added field in your links.def EXACTLY Date??? If you have changed the name of this field, than you need to use that field as the date added tag!

Regards,

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




> >