Gossamer Forum
Home : Products : Links 2.0 : Discussions :

links on new links page disappearing

Quote Reply
links on new links page disappearing
Several times in the last week or two I've had to add large groups of links to my site with very similar information. Rather than adding 100+ almost identical links one at a time online, it's easier for me to get the current version of the links.db and linkid.txt files from my site, edit them offline, and the ftp the files back to my site.

When I do this, everything builds perfectly except for the page that lists the new links. All of the links on that page disappear, including ones that were added online and were previously listed on this page. Also, the "new" tags disappear from the listings for all links. I assume that I'm doing something wrong when I edit the files offline, since all of this works perfectly when links are added online. I have been making sure that the date for the new links in the current date and is in the right format. Any ideas what else might be causing this? My site is at http://www.artemista.com/xic/

Thanks,


-- Artemista
Quote Reply
Re: links on new links page disappearing In reply to
hi artemista,

have you this entries in your new.html template ?
Code:
<%total%> New Links:
<P><%link_results%></P>
ciao
nicky
here u can visit german gossamer links forum
http://forum.nicky.net
Quote Reply
Re: links on new links page disappearing In reply to
Yes, I do have
<%total%> New Links:
<P><%link_results%></P>
on my new links template. Everything shows up on the new links page perfectly, as long as I only add links via the admin script. It's only when I need to edit the links.db file manually that I have problems. Everything, including old entries on the new links page, disappears.

-- Artemista
Quote Reply
Re: links on new links page disappearing In reply to
hmmmmmm...

look in your links.cfg file for that entrie

Code:
# Number of days a link is considered New.
$db_new_cutoff = 14; # 14 days old.
ciao
nicky
here u can visit german gossamer links forum
http://forum.nicky.net
Quote Reply
Re: links on new links page disappearing In reply to
Thanks for trying to help me with this...

Yes, I do have that line in my links.cfg file. I have 30 instead of 14, but I don't think that would cause this.

-- Artemista