Gossamer Forum
Home : Products : Gossamer Links : Discussions :

New links page

Quote Reply
New links page
Is it possible to display all the new links on the New page rather have them divided into the different dates?

Quote Reply
Re: New links page In reply to
Edit the sub in nph-build.cgi that builds the whats new page.

Important part.......

DATE: foreach $date (sort { &date_to_unix($b) <=> &date_to_unix($a) } keys %link_output) {
$long_date = &long_date ($date);
if ($build_span_pages) {
$link_results = "";
$total = $span_totals{$date};
$title_linked = &build_linked_title ("New/$date");
}
else {
$link_results .= "<p><strong>$long_date</strong>\n<blockquote>";
}
CATEGORY: foreach $category (sort keys %{$link_output{$date}}) {
$category_clean = &build_clean ($category);
$link_results .= qq|<P><A HREF="$build_root_url/$category/$build_index">$category_clean</A>\n|;
$link_results .= ${$link_output{$date}}{$category};
}



Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: New links page In reply to
Thanks Paul

Rennie