Yeah, sorry. The last line should be:
print Links::SiteHTML::display('template_no_extension', { output => $output});
The problem with editing nph-build is that it will be overwritten anytime you upgrade/update links. Unless you are creating a plugin with a hook, I suggest you stay away from editing links original code.
If you want to show span pages, you could do something like:
Oh yeah, and you call it by featured.cgi?page=page number
I think that should work ?!
Hope this helps,
- Jonathan
Code:
print Links::SiteHTML::display('template_no_extension', { output => $output});
The problem with editing nph-build is that it will be overwritten anytime you upgrade/update links. Unless you are creating a plugin with a hook, I suggest you stay away from editing links original code.
If you want to show span pages, you could do something like:
Code:
my $pageNum = $IN->param('page') ||= 1;# number of links per pagemy $linksPP = 10;my $end = $linksPP*$pageNum;my $start = $end - $linksPP;$tab->select_options('LIMIT $start OFFSET $end');Oh yeah, and you call it by featured.cgi?page=page number
I think that should work ?!
Hope this helps,
- Jonathan