your english is fine....better than my Danish....just need more detail
I remember now....had to check my MOD folders for this MOD.
I had the same problem.....I ended up copying the sub build_cool_page and replacing the
COOL with
MONTHCOOL Here is what mine looked like
Code:
#monthly hits mod modded
sub build_monthcool_page {
local ($total, $percent, $link_results, $title_linked);
my (%link_output, $category_clean);
if ($build_monthcool_path =~ m,^$build_root_path/(.*)$,) {
&build_dir ($1);
}
$total = 0;
CATEGORY: foreach $category (sort keys %monthcool_links) {
LINK: for ($i = 0; $i < ($#{$monthcool_links{$category}}+1) / ($#db_cols + 1); $i++) {
$total++;
%tmp = &array_to_hash ($i, @{$monthcool_links{$category}});
$link_output{$category} .= &site_html_link (%tmp) . "\n";
}
}
foreach $category (sort keys %monthcool_links) {
$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{$category};
}
$title_linked = &build_linked_title ("MonthlyCool");
open (MONTHCOOL, ">$build_monthcool_path/$build_index") or cgierr ("unable to open what's Monthcool page: $build_monthcool_path/$build_index. Reason: $!");
print "\tMonthly Cool-Hot Links: $total\n";
($db_monthpopular_cutoff < 1) ?
($percent = $db_monthpopular_cutoff * 100 . "%") :
($percent = $db_monthpopular_cutoff);
# forgot to change to the site_html_monthcool html but no biggie
print MONTHCOOL &site_html_cool(@monthcool_links);
Hmmm...maybe you should change yours to &site_html_monthcool close MONTHCOOL;
}
Gene