In /admin/Links/Build.pm, try changing the build_home routine, with;
Code:
sub build_home {
# ------------------------------------------------------------------
# Generate the home page.
#
# my $cat_db = $DB->table('Category');
# my $link_db = $DB->table('Links');
# $GRAND_TOTAL ||= _grand_total();
# $cat_db->select_options ("ORDER BY $CFG->{build_category_sort}") if ($CFG->{build_category_sort});
# my $sth = $cat_db->select ( { FatherID => 0 } );
# Will get shifted off in print_cat.
# my $root = [{}];
# while (my $cat = $sth->fetchrow_hashref) {
# push @$root, $cat;
# }
# my $cat_list = Links::SiteHTML::display ('print_cat', $root);
# return Links::SiteHTML::display ('home', { #category => $cat_list, category_loop => $root, grand_total => $GRAND_TOTAL });
}
Does that stop it being built? Otherwise its a case of editing npgh-build.cgi, and commenting out the 'build home' calls.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my
Amazon Wish List GLinks ULTRA Package | GLinks ULTRA Package PRO Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin |
Pre-Made Template Sets |
FREE GLinks Plugins!